I have a TreeGrid that I want to load the children on demand for.
I do not have control over the xml that is returned from the server, as I am trying to utilize this client code with an existing backend.
My response has something like <data children=“Y”>…</data> which the server is indicating to a client that there are children, so you can make a subsequent call to retrieve them.
However, in testing this with SmartClient, it seems like just having the attribute “children” (whether set to N or Y) is causing the TreeGrid to not make another fetch when the node is expanded. I find this behavior to be odd.
Am I missing something? ( I can post some sample code if necessary ).
My first guess at a work around would be to modify the transformResponse to remove the children attribute, but I’m not sure offhand how to remove properties from the DSResponse.data.
Thanks for any help or clarification.