I have created a TreeGrid control and I have populated some data inside it. I have a requirement that I need to check the records in the TreeGrid after some time interval. hence, I implemented a Timer class.
But the problem I am facing is that I am not able to access the TreeGrid records.
I tried the following code :
This piece of code always returns zero inspite of the fact that I have 12 records grouped under 2 root nodes. Each node has 6 children.
Any suggestion about how to access the records in the TreeGrid ?
But the problem I am facing is that I am not able to access the TreeGrid records.
I tried the following code :
Code:
treeGrid.getRecords().length
Any suggestion about how to access the records in the TreeGrid ?
Comment