Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Updating selection from the server
posted
Hi, I have a question: Why rows selection is always reset when moving from page to page? That is an example: http://java.samples.infragistics.com/NetAdvantage/JSF/2008.2/featurebrowser/webgrid/rowSelection/index.faces Also, if manually set selection attribute to row in server side, then grid doesn't update selection in client side (even dataBind method called). I want to use selection functionality to perform some actions, but I don't want to use "custom" data beans to hold the values for selection, how it described in this topic: http://www.componentsforjsf.com/WebGridExamples/faces/examplePages/RowSelectionWithPersistence.jsp. Best Regards.
Parents
No Data
Reply
  • 2301
    posted

     The most common usage of row selection in the grid works well with the idea that rows will get processed on the server whenever the user changes pages.So, by default, we process rows on a page change and reset their selection status on the (common) assumption that they've already been processed.

    I am not sure I see what you are trying to do. Could you please provide more detail? Also, what is it about custom data beans that you wish to avoid?

    Thanks,
    Jim

Children
No Data