Hi
I used the igGrid in a large number of pages in my MVC3 application.
I'm having troubles using more than one igGird in Tab Control. If i place an IgGird in 1st o 2nd Tab it's rendered correctly, but if a place another igGird in another Tab it isn't rendered correctly.
I've attacched an Image showing the problem.
I've attacched another Image showing the html code generated.
Thank you
Hello jadugar ,
I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Could you let me know which version of the MVC wrapper you’re using?
I’ve tested this with the basic release of 12.2:12.2.20122.1021
And the grid seemed to be displayed as expected inside the tabs when defined in razor syntax.
I’ve attached a sample for your reference.
Let me know if I’m missing anything from your scenario.
You could check if each of the three grids have a different id. Basically if the issue reproduces only when you define the grid through the MVC wrapper the wrapper will generate a table element for the grid and script to initialize its widget. You could check in your browser whether those are properly set in the tab.
I’m looking forward to your reply.
Developer Support Engineer II
I'll post you my code soon.
Today i noticed that if declare the IgGrid in javascript (using Jquery) instead of Razor (C#) i have no problem.
Thank you for reply
Thank you for posting in our forum.
Could you let me know exactly which version of ignite UI you’re using and also with which versions of jQuery and jQuery UI you’re using it with.
I’ve tested this in a simple scenario with a jQuery UI tab with 3 tabs each contain a igGrid. All 3 seemed to be displayed as expected.
Generally that width set in the style would depend on the width you’ve set for the grid. So you could also try setting some width for the grid.
It would be helpful if you could share also the grid's declaration so that I may look into that as well.
Please refer to the attached sample and let me know if I’m missing anything from your scenario.