Fiddle - http://fiddle.jshell.net/eSMWt/
1) I have two separate grid one is HierarchicalGrid and other is IgGird on web page.
2) When HierarchicalGrid is expanded it include columns of other grid.
Seems like bug to me.
-Manish
Hello Manish Dalal,
Thank you for posting on our forums.
The Fiddle page appears to have some JS errors. I have resolve these error in the attached sample. Please review the sample and let me know if you have any questions.
I don't know what script error you are seeing in fiddle page. Anyways see the attached document which has no script error but issue still exist. Please let me know what wrong here. your example is not working on my machine as it using localhost and I don't want to make sure of ig.Loader.
Still same issue after fixing that.
http://jsfiddle.net/eSMWt/
As per my investigation, I noticed that when using the igLoader to load the resources needed, the sample works as expected; otherwise, the behavior you described occurs. I am currently, investigating this anomaly and will update the thread once I receive more information.
The behavior is correct. If you want to have different column layout for the same data source then you cannot use AutoGenerateColumns. Since the Data Source provider looks at the entire schema, it noticed that you had two additional columns in one object, but not the other. If you manually create the columns yourself then it will work. Otherwise specify the same template for the first grid like you did for the second.
They are two different data source. First one is using data.grid1 and second is using data.grid2. They are two different data source. If auto layout is generated fine for parent row than why it is not generating for child row.
If you change the order of grid than it works ,
$("#DetailPaneDetailsUserDefined").igGrid({ dataSource: data.grid2 });$("#DetailPaneDetailsLicensePlates").igHierarchicalGrid({ dataSource: data.grid1, autoGenerateLayouts: true });
We have metadata driven UI, I cannot change the order. I think this a bug.
So you are absolutely correct. I misread several parts of the code. I saw autoGenerateColumns instead of autoGenerateLayouts. This is indeed a bug.
The fix for this issue 172064 "Columns are added unexpectedly" has been addressed in service release versions 2013.1, 2013.2, 2014.1. To take advantage of this fix, please download the latest service release using the instructions found here: http://community.infragistics.com/forums/t/29398.aspx.
Please let me know if you have any questions.
Hi Manish Dalal,
I have investigated the issue regarding Columns of second igHGrid appear as child of first igHGrid. I have asked our Product Development to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 172064. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will be sure to update this forum thread once I receive more information about the results of their investigation.
Ok it works with 1.8.18 version but i still think this i an issue with ignite ui. As Ignite UI support jquery UI 1.10.3
http://code.jquery.com/ui/1.10.3/jquery-ui.min.js
Its igrniteUI responsibility to write API which works with supported version.
Hello Manish,
Thank you for your patience.
I have isolated this issue to be cause by jQuery. I was unable to reproduce this behavior using the following scripts:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script> <script src="http://modernizr.com/downloads/modernizr-latest.js"></script>
Can you confirm this in your environment? Depending on the outcome, you may need to log a bug with jQuery.
I am looking forward to hearing from you.
Thanks!
So I'm reopening my case again. (CAS-137183-M8W1R2)