Hi guys, i am having another problem this time -adding row programatically..
so i am using jquery-1.9.1.min, jQuery UI - v1.10.3 and ignite ui version 13.2.
to solve the problem i did tried to change the jquery files to older ones, or declare the iggrid component inside a table or div element.
when changing the jquery files to older ones, there was always some kind of problem, like a combo box that didnt load..
i also tried to declare the grid inside a div or table element...following this toppic:
http://ko.infragistics.com/community/forums/p/76295/385579.aspx#385579
and according to this topic i should declare the iggrid component inside a table tag..
or if i want to use the div, i should change the call, acording to this link below..
http://help.infragistics.com/Help/NetAdvantage/jQuery/2012.2/CLR4.0/html/Known_Issues_and_Limitations_2012_Volume_2.html#_Ref321736823
on my view i initialy had this:
@inherits WebViewPage@using Infragistics.Web.Mvc;@{ Layout = "~/Areas/Idonic/Views/Shared/_Layout.cshtml";}
@(Html.Infragistics().Grid(Model))
and then on a button click i call this
$("hierarchicalGrid").igGridUpdating("addRow", { var1: var1, var2: var2 }); $("hierarchicalGrid").igGrid("commit");
after reading some toppics i change the view to this
@inherits WebViewPage@using Infragistics.Web.Mvc;@{Layout = "~/Areas/Idonic/Views/Shared/_Layout.cshtml";}
i also tried with the code above and remove the td and tr elements..
$("#grid1").igGrid("widget").igGridUpdating("addRow", { NomeEmpresa: sNomeDaEmpresa, Nif: sNif, Tipo: sNivelDeAcesso }); $("#grid1").igGrid("widget").igHierarchicalGrid("commit");
http://igniteui.com/grid/editing-api-events -> this example use the same js and css files dependencies and this works, i think that the problem is related to the fact that i am using ighierarchicalgrid with load on demand??
but still the error appears, what could be the issue.?
Hi Sergio Joyce,
I am glad to hear that you were able to find a solution for this. You should not have to add and hide a multi-column header to the parent grid to enable sorting. So, I have created a support case for you with an ID of CAS-136422-B7N9H4 for this issue. The matter has been determined to be a development issue and has been logged in our tracking system with ID: 171779.
I will leave this case open and update you with any new information. You can view the status of the development issue connected to this case by going to the “Account” tab on our website, selecting "My Support Activity" and then this support case will be listed there. Then, you may select the "Development Issues" tab to view details of this development issue.
Please let me know if you have any questions.
yes, i was unable to use the sortable if child grid has multicolumn header and main grid doesnt have..
the way that i did to resolve this was to add a multicolumn header on main grid then hide it.
I am able to reproduce this issue where you are unable to use Sorting on the parent grid while a child grid has MultiColumnHeaders.
I will need a little more time to research this. I will have another update on my findings for you tomorrow.
hi, i did some testing, and the sorting features are enable in both levels..
the way i did was to add a multi column header in the main grid and hide it..
I am glad to hear you are able to bind the grid.
It does sound strange that the multicolumn headers affects that. I would need some more time to look into this issue.
Features need to be enabled per level in the igHierarchcialGrid. Do you have the sorting feature enabled in the main grid or just in the child grid? This could explain why you cannot sort in the main grid.
If you have any further questions or concerns with this, please let me know.