Mar 13, 2013, 1:03 AM
[CLOSED] Razor GridPanel - Strange issue
Ok don't have a full example to post but i'll take a stab at it see if anyone can help.
So I have GridPanel with a toolbar this toolbar has text fields in it and I can use data from this using a small bit of javascript to populate all the rows of my grid panel for column X.
But when I try to do the same form a field that's in a formpanel I get nothing and no javascript errors.... any ideas?
So I have GridPanel with a toolbar this toolbar has text fields in it and I can use data from this using a small bit of javascript to populate all the rows of my grid panel for column X.
But when I try to do the same form a field that's in a formpanel I get nothing and no javascript errors.... any ideas?
for (var i = 0; i < storeSt2.getCount(); i++) {
storeSt2.getAt(i).set('a', App.abc.getValue()); <--- Toolbar Field
storeSt2.getAt(i).set('b', App.def.getValue()); <-- Formpanel Field
}
Also the formpanel fields are populated from the controller no problem with X.GetCmp<TextField>(def).Text = "some value";
Regards
Last edited by Baidaly; Mar 18, 2013 at 9:28 PM.
Reason: [CLOSED]