Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGrid setOutputs?

$
0
0
I have an autoDerivedSchema of a table with 50 fields.
I have a listgrid which only has 3 fields, thus I define 3 ListGridFields for this. Upon fetch, all 50 fields are requested from the server.

I know that you can pass an "outputs" list to the DSRequest to limit this. But I would have to take this into account for a large number of components, so I do not forget to set the outputs list before fetching new data. And I cannot be sure I do not forget this for a fetch operation.

Is there a better way to do this ? Why is the listGrid requesting fields it cannot display? Shouldn't it only be requesting its assigned listGridFields?

Viewing all articles
Browse latest Browse all 4756

Trending Articles