-
3 Nov 2010 9:42 PM #1
Load Store Dynamically
Load Store Dynamically
How to load store dynamically using events ?
-
3 Nov 2010 11:38 PM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 44
Far to general a question to give a good answer.
Please explain your specific requirements.
-
20 Oct 2011 10:51 PM #3
How to Load Store Dynamically
How to Load Store Dynamically
I have a a problem loading store using proxy, for example:
both code doesn't work, except when I replace var_here with a constant value (i.e. 1,2...etc).Code:proxy: { type:'ajax', url: 'loader.php?user=' + var_here } proxy: {type:'ajax', url:'loader.php', params:{user: var_here }
I have also tried putting and getting the value for var_here in a form field , still it doesn't work but when I tried displaying the value of var_here in the alert box, the value is displayed correctly.
Please help. Thank you.
-
20 Oct 2011 11:08 PM #4
Problem solved
Problem solved
Solved using:
Code:store.proxy.url = 'loader.php?user=' + var_here; store.load();
Similar Threads
-
Change the tab panel dynamically according to the store load
By mayurid in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 21 Sep 2010, 4:37 AM -
Dynamically load grid using direct store
By extjs3user in forum Ext.DirectReplies: 7Last Post: 20 Jul 2010, 5:54 PM -
Check JsonStore load and Store load for form display
By vayumahesh in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 9 Sep 2008, 12:07 PM -
How to use Ext.data.Store to load data dynamically?
By GokhanNL in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 26 May 2008, 1:31 PM -
How to pass config data from Store.load into Proxy.load
By mike.hampton in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 12 Sep 2007, 4:30 PM


Reply With Quote