Created
November 29, 2015 12:11
-
-
Save angelovstanton/9fff699e63441662e84f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Sort(string columnName, SortType sortType) | |
{ | |
string jsToBeExecuted = this.GetGridReference(); | |
jsToBeExecuted = string.Concat(jsToBeExecuted, "grid.dataSource.sort({field: '", columnName, "', dir: '", sortType.ToString().ToLower(), "'});"); | |
this.driver.ExecuteScript(jsToBeExecuted); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment