I have a jQuery Grid that I ma using in My MVC page, it will sort Grid when I click on any Header. What I need is to have a default Sort by FullName when Grid Loan. Not sure where I have to Identify the Default Sort. Also I need to have arrow by each header so it shows up Arrow ot Down Arrow if the next Sort would be Asc Or Dec, not sure ho to add that.
This is my Grid code:
I have a jQuery Grid that I ma using in My MVC page, it will sort Grid when I click on any Header. What I need is to have a default Sort by FullName when Grid Loan. Not sure where I have to Identify the Default Sort. Also I need to have arrow by each header so it shows up Arrow ot Down Arrow if the next Sort would be Asc Or Dec, not sure ho to add that. This is my Grid code:
|
var gridButtonConfig = { enable: true, buttons: getButtons }; result.headerColumns = ["Email", "FullName", "Organization", "Department", "Access", "CreateDate", "Status", "Actions"]; result.headerLables = ["User Name / Email ", "Full Name", "Organization", "Department", "Access", "Created Date", "Status", "Actions"]; $("#Grid").CFCGrid({ data: result, width: "99%", enableSort: true, gridButton: gridButtonConfig });