PDA

View Full Version : Initial grid sorting



zeroed
22 Jan 2012, 6:49 PM
Hi,

What is the correct way to set initial grid sorting?

If I set store.setSortDir... and store.setSortField I can see this on UI.

But I have to click grid column header at list ones to get this params on the server.

Untill that time I got null.

zeroed
24 Jan 2012, 5:18 PM
This helped:

gridLoader.setSortDir(Style.SortDir.ASC);
gridLoader.setSortField("fieldName");