[0.8.2] RowSelectionPaging plugin

  1. #1

    [0.8.2] RowSelectionPaging plugin

    Hello,

    I need help adding this plugin to ext js.

    http://www.extjs.com/forum/showthread.php?t=61282

    The reason is that I need on client side to get the count of selected rows using paging.

    Using getCount() from CheckboxSelectionModel only returns the selection from the current page :/

    THANKS
  2. #2

    RE: [0.8.2] RowSelectionPaging plugin

    Hi,

    You should not require that plugin. If you set ReaderID for the Store then grud automatically save selection across grid's pages https://examples1.ext.net/#/GridPanel/Plugins/Selection_Memory/


  3. #3

    RE: [0.8.2] RowSelectionPaging plugin

    Hi, Vladsch!

    I use the reader if to save the selection accross pages, and it works beautifully.

    My problem is getting the total selected rows using paging.

    getCount only returns the count selection for the current page.

  4. #4

    RE: [0.8.2] RowSelectionPaging plugin

    Hi,

    var count = 0;
    
    for (var id in GridPanel1.selectedIds) {
           count++;
    }
  5. #5

    RE: [0.8.2] RowSelectionPaging plugin

    Thanks, it works fine

Similar Threads

  1. [CLOSED] Plugin
    By boris in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Nov 23, 2011, 1:10 PM
  2. 1.0 generic plugin
    By [WP]joju in forum 1.x Help
    Replies: 7
    Last Post: Dec 07, 2009, 12:37 PM
  3. Plugin in GridPanel
    By olimpia in forum 1.x Help
    Replies: 0
    Last Post: Jul 14, 2009, 9:51 PM

Posting Permissions