Hi,
I'm using infragistics v12.1.
I have a webdatagrid with enable AUTOCRUD = True.
I can add and edit rows.
Here's my code:
<ig:WebDataGrid EnableDataViewState="true" ID="wdgTables" runat="server" Width="100%"
AutoGenerateColumns="false" EnableAjax="false">
<Columns>
</Columns>
<Behaviors>
<ig:EditingCore AutoCRUD="false">
<ig:RowAdding Enabled="true" Alignment="Top" >
</ig:RowAdding>
<ig:CellEditing Enabled="true" EditModeActions-MouseClick="Single">
</ig:CellEditing>
</Behaviors>
</ig:EditingCore>
</ig:WebDataGrid>
I set the datasource and the columns through code-behind.
When I add a new row, If I click the enter key on a column that is text everything is ok and the row is added to the grid.
But If I click the enter key on a column that is a BoundCheckBoxColumn, nothing happens.
In the example that I've attached I'm trying to add a new row "tst 4".
If I click on the column "Motivo" and press enter key the row is added to my grid. But If I click the column "Activo" and press the enter key nothing happens.
What can I do?
Thank you
Hello soniaalves ,
Thank you for posting in our forum.
While the BoundCheckBoxField doesn’t have editing mode it should add the row on enter key down provided you have the Activation behavior enabled so that the cell from the adding row has taken the focus when you click on the checkbox image.
I’ve tested this scenario using the version 12.1.20121.2178 of 12.1 with Activation behavior enabled and have tested it against IE10, Chrome 25, Firefox 19.0.2.
Please refer to the attached sample and let me know if I’m missing anything from your scenario or if you’re using an older service release version of 12.1 .
I’m looking forward to your reply.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://es.infragistics.com/support
I've set activation behaviour enabled=true and tried again. But the row is not added, it remains the same as I described previously.
<ig:RowAdding Enabled="true" Alignment="Top" EditModeActions-MouseClick="Single"></ig:RowAdding>
<ig:CellEditing Enabled="true" EditModeActions-MouseClick="Single"></ig:CellEditing>
<ig:Sorting SortingMode="Single" Enabled="true"></ig:Sorting>
<ig:Filtering FilteringClientEvents-FilterDropdownDisplayed="WDGTrans" Alignment="Top" Visibility="Visible" Enabled="true" AnimationEnabled="false" />
<ig:ColumnResizing Enabled="true">
<ColumnSettings>
<ig:ColumnResizeSetting EnableResize="true" />
</ColumnSettings>
</ig:ColumnResizing>
<ig:Activation Enabled="true"></ig:Activation>
I tried with the following versions:12.1.20121.2048 and
12.2.20122.2054
I tested it on IE9, framework 3.5
With activation enabled, when I press key down, the focus goes to the cell below. Please see the attached image. Am I missing something from your answer or should I upgrade my Infragistics version?