Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Dynamic Cell Templates
posted

Hi,

I have a web grid with a column with properties, a column with the current values of those properties and a third column where a new value could be entered.  I need to display either a textbox or date time picker in the third column based on the required data type of the property.  Each row could possibly have a different data type and therefore I believe the cell template needs to be created in the Initialize Row event.  So I need to add the templated column in the Initialize Layout event but create the cell template in the Initialize Row event. Does anyone know how to do this or have similar source code? Thanks