Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Server side sorting on listgrid

    I am saving the sort order in database as
    {selected:null,field:"[{name:\"selection\",width:52},{name:\"issuedate\",width:212},{name:\"sellercountry\",width:81},{name:\"buyercountry\",visible:false},{name:\"poreference\",visible:false},{name:\"sellername\",width:101},{name:\"buyername\",width:104},{name:\"ordercurrency\",visible:false},{name:\"orderamount\",width:30},{name:\"outstandingamount\",visible:false},{name:\"status\",width:149},{name:\"substatus\",visible:false},{name:\"action\"},{name:\"export\",width:137}]",sort:" {fieldName:\"sellercountry\",sortDir:true} "}

    I am extrating it as
    var gridPreferences = '${userPreferencesModel.gridPreferences}';
    When I try to apply it on listgrid as
    ListGrid.setViewState(gridPreferences); it is not getting appplied. Please assist me on this at the earliest.

    #2
    Server side sorting

    Hello again,

    Does anyone have a suggestion for this?

    I am using SmartClient 6.

    Any help or guidance would be highly appreciated

    Thank you

    Comment

    Working...
    X