The default column template in a Datagrid table is set up such that each cell contains an editable field ("field 1 of me").
I'd like a DG table where each cell has only a button.
I can use the IDE to edit the column template for each column, delete the field, and add a button.
My question is, is there a way to do this by script, in one go, by modifying some handler in the innards of Datagrid?
Thanks,
Sri
DG Table: Is it possible to edit the column template itself (not behavior) by script?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: DG Table: Is it possible to edit the column template itself (not behavior) by script?
See if this lesson helps you at all Sri. Obviously you'll have to change some of the code, but it should get you close to an idea of what needs to be done.
There is also a lesson with the properties of a Dg.
There is also a lesson with the properties of a Dg.

Re: DG Table: Is it possible to edit the column template itself (not behavior) by script?
Thanks, bogs!
Looks like just the thing I need!
Regards,
Sri
Looks like just the thing I need!
Regards,
Sri
Re: DG Table: Is it possible to edit the column template itself (not behavior) by script?
Glad it helps you out Sri 


Re: DG Table: Is it possible to edit the column template itself (not behavior) by script?
Since LC is actually written in LC, we can script (almost*) everything!
*Not sure about the LCB stuff.
*Not sure about the LCB stuff.