fabamb

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: Support an “All” option for the rowList parameter #99406
    fabamb
    Participant

    May I suggest an improvement?
    Instead of setting an arbitrary value, which is always wrong, you can set as a sentinel value 0 for 'All' and manage server-side, correctly. On the other hand, often in paging systems, it works without having to do anything.

    rowList: [5, 10, 20, 50, 1000, 0],
    pager: '#pager

    $("#pager option[value=0]").text('All');

Viewing 1 replies (of 1 total)

Stay connected with us in your favorite flavor!