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
220
"editable" column in ultrawebgrid
posted

Hi,

I am looking at somebody else's code and I saw this "Editable" column check, and this column is not added any where so I was wondering how it is getting added to the grid.

Private

 

Sub _uwgData_InitializeRow(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.RowEventArgs) Handles _uwgData.InitializeRow

If

 

 

e.Row.Cells.FromKey("EDITABLE").Value = True Then

end if

end sub

could you please tell me how this column is getting generated and what the use of this column?

is it to check whether column or grid is in editable state?

Thanks,

Mandeep.

 

 

Parents
No Data
Reply
  • 28464
    Suggested Answer
    posted

    Hello,

    In this particular code snippet, this simply denotes that there is a column in the grid with name (key) "EDITABLE" and that is all -- this in no way interferes with the grid. I would guess the developer used this as a flag or something, but it really depends on his logic.

    Per column, you can use the AllowEditing property and set it to True / False, if this is what you need.

Children