maticpetek
10 Aug 2010, 1:11 AM
Hello,
I have "ModelData" struct with two properties - "id" and "desc". Than I create ListStore with let we say 10 records and then ListFilter with this ListStore. On filter I call method ".setDisplayProperty("desc")", so visual values are what I expected.
But on server side (FilterPagingLoadConfig.getFilterConfigs(), ".getValue()" on given FilterConfig object), I only get String object with "desc_1,desc_2" values. I think we should have method on ListStore object where you could specify ModelData properties (in my example - "id") that is then send to server as part of FilterPagingLoadConfig object.
Regards,
Matic
I have "ModelData" struct with two properties - "id" and "desc". Than I create ListStore with let we say 10 records and then ListFilter with this ListStore. On filter I call method ".setDisplayProperty("desc")", so visual values are what I expected.
But on server side (FilterPagingLoadConfig.getFilterConfigs(), ".getValue()" on given FilterConfig object), I only get String object with "desc_1,desc_2" values. I think we should have method on ListStore object where you could specify ModelData properties (in my example - "id") that is then send to server as part of FilterPagingLoadConfig object.
Regards,
Matic