I am looking at this example:
http://es.infragistics.com/products/aspnet/sample/data-grid/row-deleting-button
I have this set in the grid.
<ig:RowDeleting Enabled="true" ShowDeleteButton="true"/>
And there is no sign of a delete button? How do I get it to show?
Hello Abby Palcer,
This is a new feature in the 14.1 version.
I tried this out by creating a new web application and enabling the RowDeleting behavior in the designer. I got a message saying that it was dependent upon the Selection behavior. I allowed that to be enabled too.
When I first ran the application, no delete row button appeared. But once I set the code from the sample (Enabled="true" ShowDeleteButton="true") it worked.
Here is the Behaviors .aspx code that was generated.
<Behaviors> <ig:EditingCore> <Behaviors> <ig:RowDeleting Enabled="true" ShowDeleteButton="true" /> </Behaviors> </ig:EditingCore> <ig:Selection CellClickAction="Row" RowSelectType="Single"> </ig:Selection> <ig:RowSelectors> </ig:RowSelectors> </Behaviors>
I have attached a screenshot of the result. When you hover over a row, the "x" button should appear.
If you're looking for something that is always displayed, you might want to check out the Delete Rows - Basic Features sample.
Could you please try to enable the other behaviors and then hover over the row?
Elizabeth AlbertLocalization Engineer
Hello,
I have attached a sample project for this. Please take a look at it and let me know of the results.