jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: sorting column with date sorting column with date #17501

    rmanev
    Member

    Hi Dimitar,

    In the API Documentation as you referring to is a section Method and method “sortby” which I guess you mean in your answer. However, we are only available to sort column once in a time.

    Let say we have three columns name, date, points.
    By default we don’t have any sorting in the grid, and if I call:
    $(‘#competitors’).jqxGrid(‘sortby’, ‘points’, ‘desc’);
    $(‘#competitors’).jqxGrid(‘sortby’, ‘date’, ‘asc’);

    First it would sort by points and than will sort by date – disregarding first sorting. Instead, is there a way to keep the points sorting called firs and then sort by dates but keeping points sort as it is on first place?

    I hope I express myself understandable.

    Rosen.


    rmanev
    Member

    Thanks a lot jQWidgets Team.

    Your code is working great, you’re doing fantastic work.
    As we have now sorted drop down list inside a grid cell, one more question rise-up:
    Is there a way to have a certain option (from the list) selected by default? And if so, is it possible to be one value for each row in the grid?
    I hope, I express myself clearly.

    Thank You.
    Rosen.

    Благодаря Петър.

Viewing 2 posts - 1 through 2 (of 2 total)