isEditing ();
The isEditing method indicates that the table is in cell edit mode.
To execute the example, the page must contain the LanerBox component named lanerbox (see LanerBox Constructor), and the following code must be added in the handler that processes document opening event:
// Create a button var btnIsEditing = new PP.Ui.Button({ ParentNode: "params", //DOM parent node Content: "IsEditing", //text Click: PP.Delegate(function(sender, args){ //click handler console.log("Get value indicating whether table is in the cell value edit mode") var isEditing = lanerbox.isEditing(); console.log(isEditing); }, this) });
After executing the example the IsEditing button is added to the HTML page, on clicking this button the browser console displays whether the table is in cell edit mode:
false
See also: