Jul 28, 2010, 3:54 PM
How can I customize a GridPanel column cell's content using server-side code? (OnDataBinding)
Hi guys, I have a gridpanel and there is a column that I implemented a custom renderer with a OnDataBinding event, how to implement a function that exposes the column value and content and allows me to read the current row values in order to customize this cell content?
Thanks
<ext:Column DataIndex="Printed" Header="Print" Width="50" >
<Renderer OnDataBinding="RenderPrintColumn" AutoDataBind="true"/>
</ext:Column>
I need to read 3 different IDs from the SqlDataSource query that fills the GridPanel, stored on the <Reader> but not visible as columns in order to correctly place the cell's content.Thanks
Last edited by geoffrey.mcgill; Jul 28, 2010 at 10:20 PM.
Reason: please use [code] tags