I want to load and empty grid at the start of application. The grid should only be populated once the user selects a value from checkbox. I can’t user autoLoad: false on store… is there any function like onLoad: false.. or something
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is the default not to load the store of a grid, so you literally need to do nothing.
I assume you are talking about a regular Store, with a TreeStore things are a bit more complicated as you need to make sure the root node isn’t expanded or cancel the load in the onbeforeload listener.