Hi
I have a webservice which gives childrens of a node always. I have to pass some input to the service to get the children say product id.
I had diffrent verion of implementaion my tree grid requirement by specifying loadondemand:false as my previous version of webservice used to give all the data once.
But i have to contact service to get the results. I have TreeGrid->DataSource(Webservice operation). Where do we call fetchData when we expand the tree?
Pls help
-Sravan
I understand we have to use tranformRequest mehtod. I am not able to get selected element of the tree grid in Data source transformRequest method.
i.e treeGrid.getSelectedRecord().element … Do we have any other method to get selected element???
I think getSelectedRecord() will not work as i am trying to expand the folder…not selecting …Is there any method to get expanded Record in DataSource transforRequest function…i have checked reference but not able to find it…please help
Hi gurugubelli,
See the Tree DataBinding Overview - it covers all of these questions.
Got it … thanks for your help