Hi,
I'm using the component "<ig:columnSelectRow>" in my gridView, for selecting many or all rows of my grid.
After submit form, all rows selected before became not selected.
i want to keep these rows selected after submit form
the code uses for this grid is :
<h:column> <ig:gridView id="affretementTab" binding="#{affretement.bean.grid.gridView}" selectedRowsChangeListener="#{affretement.bean.selectedRowsChangeListener}"> <ig:columnSelectRow showSelectAll="true" id="columnSelectRow"/> <ig:column sortBy="libelleContrat"> <f:facet name="header"> <h:outputText value="#{bundle['prompt.affretement.resultat.column.libellecontrat']}" /> </f:facet> <h:column> <h:outputText value="#{DATA_ROW.libelleContrat}" /> </h:column> </ig:column>
<f:facet name="footer"> <h:outputText value="#{bundle['prompt.nombredelignes']} #{affretement.bean.grid.size} " /> </f:facet> </ig:gridView>
</h:column>
<h:commandButton styleClass="inputbtn" value="#{bundle['prompt.recherche.affretement.button.constituer']}" action="#{affretement.bean.constituer}" />
Hi facilus92,
It has been some time since your post, however in case you still need assistance I would be glad to help.
I suggest that you take a look at some other threads on the forum discussing similar scenarios:
https://www.infragistics.com/community/forums/f/retired-products-and-controls/24258/first-row-selection-in-girdview#88901
https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/89763/issue-with-ultragrid-windows-and-printing#89763
https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/56035/grid-with-an-embedded-ultracontrolcontainereditor#56035
Feel free to contact me if you have any questions.