Make table cells editable in-place. Click events cannot be received on table cells that have been made editable. Edits are completed by the ENTER key, cancelled by the ESC key. Completed cell edits can be detected by overriding the onCellEdited method.

Namespace: Jaxcent.Web.Html
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void EnableCellEditing(
	int firstRow,
	int firstCol,
	int lastRow,
	int lastCol,
	bool doubleClick,
	bool allowHtmlInput,
	string editorStyles
)
Public Sub EnableCellEditing ( _
	firstRow As Integer, _
	firstCol As Integer, _
	lastRow As Integer, _
	lastCol As Integer, _
	doubleClick As Boolean, _
	allowHtmlInput As Boolean, _
	editorStyles As String _
)
public:
void EnableCellEditing(
	int firstRow, 
	int firstCol, 
	int lastRow, 
	int lastCol, 
	bool doubleClick, 
	bool allowHtmlInput, 
	String^ editorStyles
)

Parameters

firstRow
Int32
First row where cells are to be made editable. (0-based. -1 means last row.)
firstCol
Int32
First column where cells are to be made editable. (0-based. -1 means last cell.)
lastRow
Int32
Last row where cells are to be made editable. (0-based. -1 means last row.)
lastCol
Int32
Last column where cells are to be made editable. (0-based. -1 means last cell.)
doubleClick
Boolean
False to enable editing on single-click, true to enable editing on double-clicks.
allowHtmlInput
Boolean
If true, user can enter HTML input, e.g. <B>user-input</B> to enter bold text. If false, any < > & characters will be converted to escaped sequences.
editorStyles
String
Style attributes to be used on the editor. If null or empty, default of "border: 1px solid lightblue; backbround-color: lightyellow;" will be used.

See Also