PDA

View Full Version : grid view set sorting enable



fother
10 Jul 2009, 4:52 AM
grid.getView().setSortingEnabled(false);


disable the sort clicking in column header.. but if you click in the button in column (open one box to hide or show column.. I dont know the correct name /:)) you can reorder..

sven
10 Jul 2009, 4:54 AM
Please read the javadocs

fother
10 Jul 2009, 5:02 AM
rs

terciofilho
1 Jan 2010, 3:37 PM
Same issue here.

The Javadoc says nothing more then the obviously.

Javadoc: "True to allow column sorting when the user clicks a column (defaults to true)."

sven
2 Jan 2010, 6:18 AM
Yes it disables the sorting when clicking on the column. It does not disable it when clicking in the menu.