-
8 Oct 2011 9:05 AM #1
Unanswered: Data Binding based on Selected record in store
Unanswered: Data Binding based on Selected record in store
Hi everyone!!
I have two grids getting data in my Div.
In one of my grid I am displaying data from my Force.com.
when I select a record in this grid, it should populate it's related records of another object(Another Store) in second grid.
I have seen data-binding examples in Sencha. But dint get an example of how to do it with stores.
Please get me at earliest..
Thanx in advance..
-
8 Oct 2011 1:46 PM #2
-
9 Oct 2011 12:36 AM #3
I know that it should be done on Select Event...
But, I want an perfect Example to display data based in second grid based on first grid record selection...
Can you just give me or else guide me for this..
I am getting selected value with cellclick listener. But I want to display different data based upon the value selected in first grid.
-
9 Oct 2011 10:41 AM #4
I thought this was enough guidance.

Just do something like this:
Code:onGrid1Select: function(sm, record, index, opts) { store2.filter('orderId', record.get('id')); }


Reply With Quote