Readonly mode seems as editable mode in syncfusion grouping grid


Hi I am using sysncfusion grouping grid ,i set readonly property as true, but it seems as editable mode.

4 Replies

HA haneefm Syncfusion Team April 20, 2007 08:53 PM UTC

Hi James,

You can try this code.

this.grid.TableDescriptor.AllowEdit = false;

//or

this.grid.TableDescriptor.Appearance.AnyCell.ReadOnly = true;

Best regards,
Haneef


HA haneefm Syncfusion Team April 20, 2007 11:23 PM UTC

Hi Ashok,

You can make the whole grouping grid readonly by setting the TableDescriptor's AllowEdit property.

this.gridGroupingControl1.TableDescriptor.AllowNew = false;
this.gridGroupingControl1.TableDescriptor.AllowEdit = false;

Best regards,
Haneef


AS Ashok April 23, 2007 04:21 PM UTC

This code work as readonly mode as false but cursor should not blinck in that row , like data grid view in Dot net, i want same feature in this grid readonly =true

i did all thing which you send me already.

you can see in this screen, sysncfusion grid, showing my cusror,but as per read only, if i click cell whole cell should be seleceted ,not cursor blik in cell.
like Datagridview second column is in readonly mode and if i click on cell whole cell be selecetd.

>Hi Ashok,

You can make the whole grouping grid readonly by setting the TableDescriptor's AllowEdit property.

this.gridGroupingControl1.TableDescriptor.AllowNew = false;
this.gridGroupingControl1.TableDescriptor.AllowEdit = false;

Best regards,
Haneef

Readonly.zip


AS Ashok April 23, 2007 04:30 PM UTC

not working if i using readonly true, or allowew = false or AllowEdit false, i want whole cell should be selected in stead of blink cursor in row

This code work as readonly mode as true but cursor should not blink in that cell , like data grid view in Dot net, i want same feature in this grid readonly =true

please refer this screen

i did all thing which you send me already.

you can see in this screen, sysncfusion grid, showing my cusror,but as per read only, if i click cell whole cell should be seleceted ,not cursor blik in cell.
like Datagridview second column is in readonly mode and if i click on cell whole cell be selecetd.


>This code work as readonly mode as false but cursor should not blinck in that row , like data grid view in Dot net, i want same feature in this grid readonly =true

i did all thing which you send me already.

you can see in this screen, sysncfusion grid, showing my cusror,but as per read only, if i click cell whole cell should be seleceted ,not cursor blik in cell.
like Datagridview second column is in readonly mode and if i click on cell whole cell be selecetd.

>Hi Ashok,

You can make the whole grouping grid readonly by setting the TableDescriptor's AllowEdit property.

this.gridGroupingControl1.TableDescriptor.AllowNew = false;
this.gridGroupingControl1.TableDescriptor.AllowEdit = false;

Best regards,
Haneef

Readonly.zip

Readonly0.zip

Loader.
Up arrow icon