WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
[resolved] Search box not showing (16 posts)

  1. alex80ks
    Member
    Posted 2 years ago #

    I have problems search box not showing anybody can help? thanks and by the way great plugin :)

    http://wordpress.org/extend/plugins/wp-table-reloaded/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    sure, I will gladly take a look! Can you please post a link to the page with the table where this is happening?

    Thanks,
    Tobias

  3. alex80ks
    Member
    Posted 2 years ago #

  4. alex80ks
    Member
    Posted 2 years ago #

    if yo want i will gladly seend you credentials to see :) thanks for fast response :)

  5. alex80ks
    Member
    Posted 2 years ago #

    one more thing i assume that this begins to happens when i add #colspan# im not sure 100%

  6. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    please take a look at http://wordpress.org/support/topic/plugin-wp-table-reloaded-rowspan-error where you will find this answered.

    Basically, you are running into a limitation of the DataTables JS library (that you are using for the search). Unfortunately, it does not support rows with rowspan/colspan. You will have to turn it off for this table, or remove the rowspan/colspan again. Sorry for not having better news...

    Regards,
    Tobias

  7. alex80ks
    Member
    Posted 1 year ago #

    Thanks for response :) how can i use search option with this model of table?is any way to be used search or must be without search?
    thanks :)

  8. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    unfortunately, the search function (which is coming from the DataTables library) can not used with tables that have colspanned or rowspanned cells, as the DataTables library does not support this.
    You will have to do this without the search or not use #colspan#.

    Regards,
    Tobias

  9. alex80ks
    Member
    Posted 1 year ago #

    I have solve problem with that.First i was thinking about #(ID) conflict but isnt that becouse when i have for example 5 colons without #colspan# search working fine then i was adding for each colon to have two sub colons and everything working fine until i come to last colon and after adding #colspan# to last colon searchbox dissapear so i decided to add one extra colon that i dont need to be able to use search on rest then i added jquery script link in html of page and one function to make invisible that last empty colon and now everything working good until problem become solved.I hope that i helped somehow :)

  10. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    awesome! That's good to hear. Although it sounds confusing :-)

    Regards,
    Tobias

  11. alex80ks
    Member
    Posted 1 year ago #

    For example you have 5 column and each of that want to span with 2 subcolumn under each of main column....so everything is fine for first 4 column to set #colspan# the problem start when you put on last column #colspan# then searchbox dissapear but solution is to add another main column to end of table (in this case 6th) without #colspan# and search will work....there is a way to hide that last empty column with jquery but i didnt used....if someone need help let just ask ;) here is example http://www.bgdiplomatlimo.com/belgrade-airport-transfers-pricelist/

    but there is another problem with not showing different color in .odd rows at first load...later when i change number of rows to preview that colours showed but on first load of page colour stay white on all rows...any solution?

  12. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    ah, that explains it better :-) Thanks!

    The issue with the odd/even rows is related to this. From what I can see, DataTables at first stops (in the process of adding the odd/even) and then works again, but without finishing this...
    Unfortunately, I don't know how to change or fix this, sorry.

    Best wishes,
    Tobias

  13. alex80ks
    Member
    Posted 1 year ago #

    I will try to find some temporary solution for that if you alow until mayor fix come out?

  14. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    that will be the best idea, but unfortunately, there's nothing here for me to fix. I'm not the developer of the DataTables JavaScript library, I just added it to WP-Table Reloaded.

    From what I know, DataTables does not support rowspan/colspan in all of its varieties, but that might have changed in recent versions. So, until this is changed in DataTables, there's nothing that I can do in WP-Table Reloaded. Sorry.

    Regards,
    Tobias

  15. gufranchorghay
    Member
    Posted 1 year ago #

    Hi

    WP-Table Reloaded working very much fine.

    Anybody help me out for the using table with CHECKBOX
    <input type="checkbox" name="mag" value="1"> in each row last col. with the value say 1,2,3 ...

    Out of the 10 rows I am selecting 2 rows using checkbox (tick mark)

    End of the table I have one BUTTON.

    after clicking the BUTTON I want to make a new Table or Form with those selected (2 rows) for further submission.

    Please help me out with javascript.

    I got the following javascript but I do'nt know how use.
    $('input:checked').each(function() {
    // To pass this value to its nearby hidden input
    $(this).parent('td').next('input').val($(this).val()); });

    Gufran

  16. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    please don't post your question more than once. I will answer in http://wordpress.org/support/topic/plugin-wp-table-reloaded-selected-rows-to-form-submission later.

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic