We have Web Hierachical Data Grid(13.2) in our project. We have the data from DB. It has proper parent child relationship. We bind it to Web Hierachical Data Grid. It works fine. It shows bands. When we click on the Parent Band to expand the Child row it do postback to get the data.
Actully we are assigning dataset with parenet child data. Expected that it should just expand & show the child records than getting data again from database. Is there any way to insist it?
Since we have all the data at time of binding it to Web Hierachical Data Grid when we click on parent band it should collapse & display child records instead of doing post back.
Do we need to set any propert? Please provide sample.
Hello,
Thank you for contacting Infragistics!
We received your support request concerning not posting back to get child data, and this case has been assigned to me. I have done an initial review of your case and to achieve this you can set the InitalDataBindDepth:
http://help.infragistics.com/doc/ASPNET/2014.2/CLR4.0/?page=Infragistics4.Web.v14.2~Infragistics.Web.UI.GridControls.WebHierarchicalDataGrid~InitialDataBindDepth.html
Note that if you set it to -1 the whole grid will be bound and you won’t go to the server to retrieve data. This will mean that all your data will be sent down the first time.
Please let me know if you have any further questions concerning this matter.