AH! It all makes sense now.
Thanks for your help, I really appreciate it.
Helmut.
Helen Triolo wrote:
Helmut Granda wrote:
Thanks all for your help on this.
What I can't get my head around and maybe that is why I cant get this
to work is, how does the DG knows to get the info from certail
columns only?
I dont see the declaration that the information belongs to the DG.
Using Helen's sample
mydata = [{company:a, id:3}, {company:b, id:54}];
mygrid.columnNames = ["company"];
one more line (should've included for clarity before):
mygrid.dataProvider = mydata;
How does mygrid knows to get the column "company" from mydata when my
data has not yet beein delared to have a relationship with mygrid?
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders