I am trying to do something very simple in concept but am having no luck whatsoever in getting it to work. All I would like to do is update a treelist datasource via an ajax call that passes a different parameter each time the user selects a new user id from a dropdown list.
Changing the dropdown list choice simple calls the data source again with the new parameter. I am finding that my attempts to modify the transport options via javascript won't be resubmitted. That is I can see via the debugger that I have changed transport options read/url but I can get the datasource to refresh by using setDataSource() or fetch(). I don't know if there is a correct sequence of options to change but this is quite frustrating.
The treelist is essentially a hierarchical list of records specific to the user selected in a drop down list. All I want to do is change that user and remotely databind again to refresh the grid. Why is this so difficult?
Thanks!
Changing the dropdown list choice simple calls the data source again with the new parameter. I am finding that my attempts to modify the transport options via javascript won't be resubmitted. That is I can see via the debugger that I have changed transport options read/url but I can get the datasource to refresh by using setDataSource() or fetch(). I don't know if there is a correct sequence of options to change but this is quite frustrating.
The treelist is essentially a hierarchical list of records specific to the user selected in a drop down list. All I want to do is change that user and remotely databind again to refresh the grid. Why is this so difficult?
Thanks!