jQuery UI Widgets Forums ASP .NET MVC How to show information in the jqxGrid twice?

This topic contains 4 replies, has 2 voices, and was last updated by  Novato 2 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author

  • Novato
    Participant

    Hello I have the following problem I hope you can help me thank you very much.

    When consulting the data of my application, my jqxGrid (“# gvData”) appears with its nested grid and its filters. Then I click on a button to read an excel and show it in the same jqxgrid but I see the nested grid.

    My question is:

    Is there any way that showing the data for the second time in the same jqxgrid does not show me the previous properties as the nested grid or is there some way to hide the first grid and show the excel information in another jqxgrid?

    You can give me an example of showing information twice in the same grid with different properties


    Todor
    Participant

    Hello Novato,

    You could destroy the first grid on button click and create a new one with the new information from excel.

    Let us know if you need further assistance.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com


    Novato
    Participant

    Hi, Todor.

    I destroyed the grid and showed the excel data in a new grid and it worked perfectly.

    But after I need to load the data from my destroyed first grid again, the problem I notice is that the destroy method removes the element from the Dom.

    Any suggestions to show the data again in the destroyed grid?

    I would really appreciate it if you can answer me as quickly as possible thank you very much.


    Todor
    Participant

    Hello Novato,

    You could hide the first grid (for example with css display: none) and show it later when you would need it.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com


    Novato
    Participant

    Hi, Todor.

    Sorry to take a while to respond, display: none worked well for my needs.

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

You must be logged in to reply to this topic.