[0.8.2] RowSelectionPaging plugin
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
[0.8.2] RowSelectionPaging plugin
Subscribe
Last Login: 5/31/2010 9:21:41 AM
Posts: 64,
Posted 1/25/2010 11:18:22 AM

Group: Coolite Early Adopter
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
Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 1/25/2010 11:27:15 AM

Group: Core Development Team
Hi,

You should not require that plugin. If you set ReaderID for the Store then grud automatically save selection across grid's pages http://examples.coolite.com/?/GridPanel/Plugins/Selection_Memory/


--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 5/31/2010 9:21:41 AM
Posts: 64,
Posted 1/25/2010 11:31:21 AM

Group: Coolite Early Adopter
 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.

Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 1/25/2010 11:39:48 AM

Group: Core Development Team
Hi,

var count = 0;

for (var id in GridPanel1.selectedIds) {
       count++;
}


--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 5/31/2010 9:21:41 AM
Posts: 64,
Posted 1/25/2010 12:17:43 PM

Group: Coolite Early Adopter
 Thanks, it works fine
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 4:45pm