I have 3 table and 3table contains same "Remark" name field. i bind that to ultragrid. Data displayed on grid, Now iwant "remark" column from table1 and table2 to be readonly. For table 3 "Remrks" column should be editable.
I ued
Grid.Ido_SetColumnToReadOnly("Remark") But only one column got readonly. I want to find tablename for that so that i make that column readonly.
How to this
What is your Ido_SetColumnToReadOnly method doing?
Here's what I would do:
Private Sub UltraGrid1_InitializeLayout(ByVal sender As System.Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles UltraGrid1.InitializeLayout Dim layout As UltraGridLayout = e.Layout For Each band As UltraGridBand In layout.Bands band.Columns("Remark").CellActivation = Activation.NoEdit Next End Sub