Hi,
Is it possible to implement default sorting in JSF gridView, so that when grid appears for the first time in the page, the data is already sorted based on certain fields.
Any suggestions are welcome..
Thanks
Jansun
The easiest way is probably to just sort your collection that way. If your collection is being loaded via SQL, you can just set an "order by" clause.
The other way is to get a reference to the grid itself and then invoke the built-in sorting methods.
Best,Jim