I'm using SmartGWT 2.4.
I've set up a simple CRUD screen with a single RestDataSource. As it is hierarchical, I'm using a TreeGrid to display it. I'm using a DynamicForm to edit the selected record, with a RecordClickHandler calling the DynamicForm's editForm on the event's selected record.
This works fine when I'm working with a non-hierarchical DataSource in a ListGrid, but the TreeGrid selected record contains information in addition to what you get from the ListGrid and this information is getting submitted to the REST service that I'm calling.
It looks to me that this information is all related to the TreeGrid that contains the record and I'm wondering how, when passing information to the DynamicForm, I can either only get the same information I get when I'm using a ListGrid's selected record or, failing that, exclude that extra data from being sent when I call the DynamicForm's saveData() method.
Thanks for your time
I've set up a simple CRUD screen with a single RestDataSource. As it is hierarchical, I'm using a TreeGrid to display it. I'm using a DynamicForm to edit the selected record, with a RecordClickHandler calling the DynamicForm's editForm on the event's selected record.
This works fine when I'm working with a non-hierarchical DataSource in a ListGrid, but the TreeGrid selected record contains information in addition to what you get from the ListGrid and this information is getting submitted to the REST service that I'm calling.
It looks to me that this information is all related to the TreeGrid that contains the record and I'm wondering how, when passing information to the DynamicForm, I can either only get the same information I get when I'm using a ListGrid's selected record or, failing that, exclude that extra data from being sent when I call the DynamicForm's saveData() method.
Thanks for your time