Hello Community,
I have a problem with the radGrid from Q3/2011 Version. On client Java script I have to get the actual sort expression of the grid. As the documentation stated, I used the following code:
But sortExpression is always empty even if my grid is definitely sorted by one column.
In the documentation I found the Note: The RadGrid get_sortExpressions() property is meaningful only in case the RadGrid control is bound client-side.
This I interpret, that, if the grids data is not bound from client side, I cannot get the sort expression this way.
My grid is bound to an ObjectDataSource. So how can I get the sortExpression?
Greetings
Thomas
I have a problem with the radGrid from Q3/2011 Version. On client Java script I have to get the actual sort expression of the grid. As the documentation stated, I used the following code:
var
grid = $find ( ... gridClientId... )
// Grid is found, so get the sort expression
var
masterTableView = grid.get_masterTableView();
var
sortExpressions = masterTableView.get_sortExpressions();
In the documentation I found the Note: The RadGrid get_sortExpressions() property is meaningful only in case the RadGrid control is bound client-side.
This I interpret, that, if the grids data is not bound from client side, I cannot get the sort expression this way.
My grid is bound to an ObjectDataSource. So how can I get the sortExpression?
Greetings
Thomas