Aug 07, 2014, 6:54 PM
DataView get previous page selected records
Hi there, is it possible to keep previous selected records from dataview, after a page has changed?
For example, take a look at Ext.NET examples https://examples2.ext.net/#/DataView/Basic/With_Paging/, if you choose a photo in page 1 and then change to page 2, you have lost the previous selection(s). That's not so good behavior. Is there any way to avoid this? I have a direct event in a button, where I send a DataView's selected records to server, but when I change a page, I loose all previous selections.
Kind regards
For example, take a look at Ext.NET examples https://examples2.ext.net/#/DataView/Basic/With_Paging/, if you choose a photo in page 1 and then change to page 2, you have lost the previous selection(s). That's not so good behavior. Is there any way to avoid this? I have a direct event in a button, where I send a DataView's selected records to server, but when I change a page, I loose all previous selections.
<DirectEvents>
<Click
OnEvent="ShareVideo">
<ExtraParams>
<ext:Parameter
Name="Video"
Value="#{DataViewVideos}.getRowsValues({ selectedOnly : true })"
Mode="Raw"
Encode="true" />
</ExtraParams>
</Click>
</DirectEvents>
More over, I don't use a Proxy, just binding some data directly to the DataView's Store. Kind regards