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
731
how to Get Column keyname/column name from cell id in javascript?
posted
can any one guide me how can i get column key name /column name in javascript event handler 

AfterExitEditModeHandler

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    In this event handler, you have reference to the cell that was previously in edit mode through the "cellId" parameter.  With this in mind, you can get the column's key and header caption using the following BLOCKED SCRIPT

    var cell = igtbl_getCellById(cellId);
    var col = cell.Column;
    var colKey = col.Key;
    var colCaption = col.HeaderText;

Children