dynamic columns - Dynamically arrange data of jqgrid -


i not able arrange cell data dynamically respect customize column. in cell collection want arrange cell values per column sequence.
column :[column10, column3, column1, column7, column9](those coming database) , column sequence dynamically change. in case not able arrange cell value dynamically respect sequence of column. please find snapshot of code, using in code.

jsondata = new                 {                     total = totalpages,                     page,                     records = totalrecords,                     rows = (                         details in listdata                         select new                         {                             = 1,                             cell = new string[] {                                                details.column10,                                               details.column3,                                               details.column1,                                               details.column7,                                               details.column9                                 }                         }                         ).toarray() 

please guide , let me know flow through can proceed.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -