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
115
RowEditTemplate - Activate only on few columns ?
posted

Hello,
by default, when we use "RowEditTemplate", it's open when we click on a cell of the webgrid.

Is-it possible to activate the "RowEditTemplate" on few columns (not all columns) ?
For example, i have four column.
If i click on the thrid column, i don't want to activate the "RowEditTemplate".


 

  • 115
    posted

    I've found this event "BeforeRowTemplateOpenHandler"

    But how can i check the cell that fired this event ? 
    event.srcElement.id return an empty string.

    And if i return "true" value, i can't edit cell.

    Can someone help me ?