GridView.OnBeforeStartEditing

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Programmers' Reference > Application API > Interfaces > GridView > Events >

GridView.OnBeforeStartEditing

See also

 

Event: OnBeforeStartEditing(objXMLData as XMLData, bEditingName as Boolean)as Boolean

 

XMLSpy scripting environment - VBScript:

Function On_BeforeStartEditing(objXMLData, bEditingName)

 ' On_BeforeStartEditing = False  ' to prohibit editing the field

End Function

 

XMLSpy scripting environment - JScript:

function On_BeforeStartEditing(objXMLData, bEditingName)

{

 // return false;  /* to prohibit editing the field */

}

 

XMLSpy IDE Plugin:

IXMLSpyPlugIn.OnEvent (1, ...)        // nEventId = 1

 

Description

This event gets fired before the editing mode for a grid cell gets entered. If the parameter bEditingName is true, the name part of the element will be edited, it its value is false, the value part will be edited.

 

 


© 2019 Altova GmbH