Event of ComboBox in DataGridControl

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
 
B

Bharathi kumar

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.
 
S

Samuel Shulman

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top