Hi all,
I have looking for a long time a solution to define a default column sort but nothing.
Currently, when I activate the sort in a UniDBGrid, none column s sorted when the Dataset opens (no icon - arrow - in title). I must click on columns header to see this sort icon.
How can I to show this icon on the first column directly at first data load ?
At initialisation => no sort
When I click on title
PS: I have found this solution but I must call this code after
Hi,
Can you try this?:
UniDBGrid -> ClientEvents -> ExtEvents ->...
function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts)
{
if (columns[0].isSortable()) {
columns[0].sort('ASC')
}
}