This content has been marked as final.
Show 4 replies
-
1. Re: sort dataGrid
ilya_shaikovsky Aug 18, 2009 4:26 AM (in response to shiftonyou)You should just define the items in the model in needed order. Datagrid designed fully similar to standard h:panelGrid but iterating the model. So it's outputs the data in given order placing in defined number of columns.
-
2. Re: sort dataGrid
shiftonyou Aug 18, 2009 4:45 AM (in response to shiftonyou)Thank you for your answer.
Isn't there an other way then define all the items new... thats kind of expensive.
I found something in the h:selectManyCheckbox -> layout="pageDirection" that would be great with the dataGrid... -
3. Re: sort dataGrid
ilya_shaikovsky Aug 18, 2009 5:02 AM (in response to shiftonyou)use just the base component - a4j:repeat. You will be able to create any markup based on iteration data.
-
4. Re: sort dataGrid
shiftonyou Aug 18, 2009 5:17 AM (in response to shiftonyou)well, that would be a possibility but i don't know how to use this with multiple columns ... do you have any suggestion for me?