Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public void Sort(string columnName, SortType sortType)
  2. {
  3. string jsToBeExecuted = this.GetGridReference();
  4. jsToBeExecuted = string.Concat(jsToBeExecuted, "grid.dataSource.sort({field: '", columnName, "', dir: '", sortType.ToString().ToLower(), "'});");
  5. this.driver.ExecuteScript(jsToBeExecuted);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement