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
140
Anyway to activate Row Edit Template by Javascript?
posted

Hi,

Row Edit Template can be activated by double click..etc.

Is there anyway to activate it by Javascript?

Thanks!

David

Parents
  • 33839
    Suggested Answer
    posted

    Hey David,

    There is a way to open the row edit template via JavaScript.  Let me give you the code.

    var grid = $find("WebDataGrid1");

    var row = grid.get_rows().get_row(0);

    var ret = grid.get_behaviors().get_editingCore().get_behaviors().get_rowEditingTemplate();

    ret.enterEditMode(row);

    This should get you going.  Let me know if you have any problems.

    regards,

    David Young

Reply Children