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
770
cell = evntArgs.getCell() returns null ?
posted

how do i get cell object at     ExitingEditMode

 

<

<

 

html xmlns

="http://www.w3.org/1999/xhtml">

<

 

head runat

="server">

 

 

 

<title></title

>

 

 

 

<script type

="text/javascript">

 

 

 

function

WebDataGridView_ExitingEditMode(webDataGrid, evntArgs)

 

 

{

 

 

var

cell = evntArgs.getCell();

alert(cell);

alert(cell.get_value());

 

 

args.set_cancel(

 

false

);

 

}

 

 

 

</script

>

</

 

head

>

<

 

body

>

 

 

 

<form id="form1" runat

="server">

 

 

 

<div

>

 

 

 

<asp:ScriptManager ID="ScriptManager1" runat

="server">

 

 

 

</asp:ScriptManager

>

 

 

 

<ig:WebDataGrid ID="WebDataGrid1" runat="server" Height="350px" Width

="100%">

 

 

 

<Behaviors

>

 

 

 

<ig:EditingCore

>

 

 

 

<Behaviors

>

 

 

 

<ig:RowAdding

>

 

 

 

<ColumnSettings

>

 

 

 

<ig:RowAddingColumnSetting

/>

 

 

 

</ColumnSettings

>

 

 

 

<AddNewRowClientEvents ExitingEditMode="WebDataGridView_ExitingEditMode"

/>

 

 

 

<EditModeActions EnableOnActive="True" EnableOnKeyPress="True"

 

 

MouseClick="Single"

/>

 

 

 

</ig:RowAdding

>

 

 

 

<ig:CellEditing

>

 

 

 

</ig:CellEditing

>

 

 

 

</Behaviors

>

 

 

 

</ig:EditingCore

>

 

 

 

<ig:Activation

>

 

 

 

</ig:Activation

>

 

 

 

</Behaviors

>

 

 

 

</ig:WebDataGrid

>

 

 

 

 

</div

>

 

 

 

</form

>

</

 

body

>

</

 

html

>