Is it possible to set initialPreferredViewPortSize for any component using component's property?
For e.g i have my spec as below
- Code: Select all
"foundset": { "type": "foundset", "pushToServer": "allow","dynamicDataproviders":true,"provideColumnFormats":true, "sendSelectionViewportInitially": true,"initialPreferredViewPortSize":5000}
So is possbile that I can create a property for the same componet and then user can directly choose what initialViewPortSize he/she wants,something similar to this
- Code: Select all
"viewPortSize":{"type":"int",default:5000}
"foundset": { "type": "foundset", "pushToServer": "allow","dynamicDataproviders":true,"provideColumnFormats":true, "sendSelectionViewportInitially": true,"initialPreferredViewPortSize":"viewPortSize"}
"viewPortSize":{"type":"int",default:5000} so that they can just input value from the component's property.
I want users to choose size whichever they feel better.