jQuery UI Widgets Forums Grid Replace functionality grid with UI

This topic contains 3 replies, has 2 voices, and was last updated by  Nadezhda 10 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Replace functionality grid with UI #61105

    BramVercaigne
    Participant

    Hi

    We’re making an MVC website but we want everything done by the server. Is there an ability to ‘fake’ the sort functionality of the grid? This means that the UI is updated from the grid when clicking on a column header, but that the sorting functionality is disabled.

    So when i click on the header of the column, i want to do:
    – update the UI of the column (like there is sorted but the list itself must not be sorted => disable that the content of the grid will be changed)
    – ask for every column if the column is sorted (by this way i can do multisort) and put this in a array or something and then pass it to the controller by ajax and when the ajax succeeded, refresh the gridData.

    So how can i fake the UI of a column that is sorted?

    We do everything with our own queries so the grid itself should not have a lot of functionality but only display how the data is composed.

    Replace functionality grid with UI #61109

    Nadezhda
    Participant

    Hello BramVercaigne,

    Please, take a look at Server Sorting with jqxGrid help topic and DataTable Server Sorting demo.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Replace functionality grid with UI #61111

    BramVercaigne
    Participant

    Hi,

    Thanks for your answer but i already saw this examples. The problem is that we do not work with an EF because all our data is dynamic. We work with view models and these contains a list of columns already. So the columns are made dynamically.

    So these server examples are not the way we want to work.

    Is there a possibility to turn off the functionality of the grid? Like when i click on a column header, only the UI changes and the data does not change…

    Kind Regards,

    Replace functionality grid with UI #61133

    Nadezhda
    Participant

    Hi BramVercaigne,

    You may use the idea of Custom Sorting demo and make your own sorting method.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.