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
745
Problem with AutoCrud and checkbox
posted

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">

<Behaviors>

<ig:RowAdding Enabled="true" Alignment="Top" >

</ig:RowAdding>

<ig:CellEditing Enabled="true" EditModeActions-MouseClick="Single">

</ig:CellEditing>

                    </Behaviors>

</ig:EditingCore>

</Behaviors>

</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

 

 

Parents
  • 29417
    Offline posted

    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

     

     

     

    Wdg_RowAdding.zip
Reply Children