Hi,
I am using igGrid and whenever I am trying to add "column moving" feature, it is throwing following exception.
0x800a138f - JavaScript runtime error: Unable to get property 'left' of undefined or null reference
If I don't add this feature, the groupBy doesn't work for some reason. Can you please tell me what exactly is the problem ?
Below is my feature set looks like
features: [
{
name: "Summaries",
showSummariesButton: false,
showDropDownButton: false,
compactRenderingMode: false,
resultTemplate: "{1}",
columnSettings: [
{ columnKey: "A", allowSummaries: false },
{ columnKey: "B", allowSummaries: false },
{ columnKey: "C", allowSummaries: false },
columnKey: "D", allowSummaries: true, summaryOperands: [
{ type: "sum" }
]
},
columnKey: "E", allowSummaries: false, summaryOperands: [
columnKey: "F", allowSummaries: true, summaryOperands: [
}
name: "Filtering",
type: "local",
mode: "advanced",
filterDialogContainment: "window",
name: "Paging",
pageSize: 10
name: "Sorting",
name: 'Selection',
mode: 'row',
multipleSelection: false,
activation: true
name: "Hiding",
columnChooserWidth: 300,
columnChooserHeight: 300,
name: "Resizing"
name: "ColumnMoving",
name: 'GroupBy',
groupByDialogContainment: "window",
modalDialogHeight: 500,
groupByLabelWidth: 305,
],
After adding column moving, I see two column rows for the grid and an exception. Please have a look and let me know.
One more thing, This grid is inside md-dialog and maybe angularJS / infragistics aren't allowing opening column Group By window if a pop up window is already open ? Just a thought.
Hello Hamza,
Thank you for posting in our community.
I created a small sample using a configuration similar to yours. I enabled Filtering, Summaries, Paging, Sorting, Selection, Hiding, Resizing, Column Moving and Group By feature. The grid is created in a dialog which modal option is set to true. I tested this sample on Internet Explorer 11, Edge, Chrome and Firefox browsers and everything worked as expected without any exceptions thrown.
I am attaching my sample for your reference. Please test it and let me know what is the behavior on your side. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify my sample and send it back to me for further investigation along with steps to reproduce.
Please feel free to contact me if you have any additional questions regarding this matter.