How to disable "multi-select" and "Delete Row" functionality of XamDataGrid

This post has 2 Replies | 3 Followers

anurodhora
Points 40
Replied On: Mon, Sep 1 2008 11:31 AM

I want to know how to disable "multi-select" and "Delete Row" functionality of XamDataGrid.

Its urgent - please help. 

  • Post Points: 20
joshsmith
Points 6,852
Infragistics Employee
Microsoft MVP
Replied On: Mon, Sep 1 2008 9:57 PM

 You can turn off those features via the FieldLayoutSettings, as seen here:

 <igDP:XamDataGrid>
  <igDP:XamDataGrid.FieldLayoutSettings>
    <igDP:FieldLayoutSettings AllowDelete="False" SelectionTypeRecord="Single" />
  </igDP:XamDataGrid.FieldLayoutSettings>
</igDP:XamDataGrid>

Josh

  • Post Points: 70
Igor Kasianenko
Points 475
Replied On: Wed, Jun 18 2014 4:23 AM

Hi Josh,

How to use this in a style for all grids in program? I have 15 grids and i need to disable it in all of them, is there a way to use Style="{StaticResource XamDataGridInTabControl}" and use it in <Style> <Setter Property> or something like that?

  • Post Points: 5
Page 1 of 1 (3 items) | RSS