Support » Plugin: Easy Table Creator By PolyVision » [Plugin: Easy Table Creator By PolyVision] Setting to enable or disable tablesorter for individual t

Viewing 7 replies - 1 through 7 (of 7 total)
  • Has anybody figured out how to disable the tablesorter at the table level and/or globally?

    Found it. Admin > Settings > Easy Table Creator > Use Tablesorter config y/n

    Thanks PolyVision for a great plug in.

    Seems that some CSS get broken when you turn the table sorter off.
    Just need to add them back in with custom.css

    .easy-table-creator .odd td { background-color: #f0f0f6; }
    .easy-table-creator { background-color: #cdcdcd; border-collapse: separate; border-spacing: 1px; font-size: 8pt; margin: 10px 0 15px; text-align: left; width: 100%; }
    .easy-table-creator .even td { background-color: #ffffff; }
    .easy-table-creator th { background-color: #e6eeee; border: solid 1px #ffffff; color: #3d3d3d !important; vertical-align: bottom; padding: 4px; }
    .easy-table-creator td {background-color: #FFFFFF; color: #3D3D3D; padding: 4px;vertical-align: top;}

    My css idea is not perfect. Doesn’t play nice if your turn tablesorter back on. Sorting functions doesn’t work.

    BTW if you add the plug-in TinyMCS Advanced, you can get nice WYSIWYG table edit functions that work with tables created by Easy Table Creator – so you can do even/odd css easily.

    You might also consider the WP-Table Reloaded plug in – which is nice if you use a single table in multiple locations. Very powerful plug in, with logs of configs, but at the moment it does not have any WYWIWYG editing capabilities.

    But WP-Table reloaded won’t interfere with Easy Table Creator – so you can use both.

    Hey quick question if youre still subscribed to this post…. thank you btw for posting your css, it helped a ton! However, my even/odd css styles aren’t working anymore…Any ideas?

    I think with the table sorter function disabled, the auto even/odd tagging was also disabled.

    So I ended up using the table edit functions available thru TinyMCS Advanced to manually assign “odd” to all odd rows, same for even.

    Hope this helps!

    The original question had to do with enabling or disabling the table sorter function at the table level as well as the global level. I believe we have covered the global, but I also didn’t see an answer for how to do this on a table-by-table basis.

    I believe this information will be helpful:

    Assuming you have the global table sorter function enabled (Settings -> Easy Table Creator -> “Use Tablesorter”), you can disable the sorting feature for an individual table. This can be done while preserving the color scheme as well!

    1. In your page or post, change the view from the Visual editer to the HTML editor.
    2. Locate the beginning of the table in question. You should see some code like this:

    <table class="easy-table-creator tablesorter" style="width: 100%;">

    3. Remove the word “tablesorter” from the class tag, but leave the <thead> section. In this case it is blank because I did not have a header.

    That should be all there is to it! I found that without the <thead> tags my table did not format correctly. There may be a way around that, but it didn’t bother me enough to search any deeper. The result is a pretty table with alternating colors and no sorter. Additionally, you can still have a header with content if you wish, but just remove the “tablesorter” verbiage and you will be set.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Easy Table Creator By PolyVision] Setting to enable or disable tablesorter for individual t’ is closed to new replies.