Hi,
I have simple hierarchical grid, to which I have attached a list of objects as dataSource. Class for each of these objects, has some properties with getter/setter defined.
Ex:
private _ID : number;
get ID() : number {
return this._ID;
}
set ID(id:number){
this._ID = id;
After setting dataSource, grid behaves strangely.
1. Scrolling is no more possible.
2. No cell can be set to edit mode. Edit mode gets removed automatically.
Can you please suggest a way to use getter/setter properties with grid?
Hello Kautubh,
Thank you for contacting Infragistics!
How are you setting up the list of objects?
Do you have code you can provide of this and the setup of the grid?
What version of the Infragistics controls are you using?
Some more details.
I am using Angular2 and Typescript.
I have two classes Parent and Child. Each Parent object has different number of Child objects. Both Parent and Child classes has getter/setter properties. List of Parent objects is assigned to dataSource.
I will try to write a sample for this. I am using 2015.1 version of Infragistics.
Hello Kaustubh,
Thank you for the update. I look forward to your sample.
I have tried to write a sample for this. Though I could not run it, it will give you some idea as to what I am trying. Two classes Parent and Child. Parent contains getter/setter properties. Check attached .ts file.
Hello,
I have logged this on the GitHub for our angular 2 for further investigation by our dev team:
https://github.com/IgniteUI/igniteui-angular2/issues/113