Can you please describe what the differences are in the following?
dataView vs. flatDataView
generateFlatData vs generateFlatDataView
I have a use case where I am using an igTreeGrid. The grid initially has a row inserted dynamically using dataSource.insertRow(). Then the dataSource.commit() is called after insertion. What I've noticed is if a child is inserted, then the igTreeGrid will display the (+) indicator, but when I call dataSource.flatDataView(), I cannot find the child row until I expand the node.
Can you please advise?
Thanks!
Hello C R,
The difference between dataView and flatDataView methods is that dataView returns the original hierarchical structure of the data, while flatDataView returns the current flat data view with all records. Regarding your issue, are you calling dataBind() method in order the grid to be updated with the new data? Attached is a sample with similar scenario for your reference.
If you have further questions, please let me know.
Regards,Tsanna