Load limited number of fields in a custom state

Hi, I am building a dashboard which uses a table with 20-25 fields. On page load I am loading all the data of that type in a custom state and then using the reference of that custom state to show the numbers in my dashboard. On every filter applied by the user i set the custom state with the filtered data.

I am facing a problem that the data load and filtering is very slow, since there are too many fields which are being loaded. However most of the fields are not required in my dashboard but they are getting loaded with the required data.

Can anybody suggest any way of setting only a few columns of a particular table to custom state.

This topic was automatically closed after 70 days. New replies are no longer allowed.