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
185
setting ultraoptionset value in initializerow of ultrawingrid
posted

Hi,

I have added an ultaoptionset to the editor component on my ultra grid

Me.tblAssetReg.DisplayLayout.Bands(0).Columns(4).EditorComponent = rbappdec


I want to set the value of the option set based on information in another column, normally I would use on initialize row but I can't work out how to set the value

Private Sub tblAssetReg_InitializeRow(sender As Object, e As InitializeRowEventArgs) Handles tblAssetReg.InitializeRow

If e.Row.Cells("Status").Value.ToString = "D" Then

e.Row.Cells("Dec/App") ("set the option index to 1" etc?)

End If


can anyone help please


hope this makes sense, I'm not too good at explaining things