Event of ComboBox in DataGridControl

  • Thread starter Thread starter Samuel Shulman
  • Start date Start date
S

Samuel Shulman

Hi

I would like to catch the SelectedIndexChanged or similar event of a
particular ComboBox within a DataGridControl

Also I am not sure which is the best way of reading or assigning the current
value within the list, is it casting the Cell?

Thank you for your help.
Samuel Shulman
 
Hi,
In the ItemCreated event for the datagrid, you need to add the
handler for comboxbox.

Syntax:
AddHandler datagrid.cells(0).items(0).SelectedIndexChanged, AddressOf
YourMethodName

Hope you got it.
 
Thank you,

I would never guessed it

Sam
Bharathi kumar said:
Hi,
In the ItemCreated event for the datagrid, you need to add the
handler for comboxbox.

Syntax:
AddHandler datagrid.cells(0).items(0).SelectedIndexChanged, AddressOf
YourMethodName

Hope you got it.
 
Back
Top