I am create table using Jquery-bootgrid. in the documentation its passing this kind of parameters to controller
current=1&rowCount=10&sort[columnName]=asc&searchPhrase=&id=b0df282a-0d67-40e5-8558-c9e93b7befed
I can get the all parameter value, except the one with bracket sort[columnName]=asc
, I get the paremeter by create class with same properties name like in parameter
public class Bootgrid
{
public int current { get; set; }
public int rowCount { get; set; }
public string searchPhrase { get; set; }
public string[] sort{ get; set; } //can't get the value
}
please advice