SPAS 3.0 Forums: General

You have been banned from this forum. If you have any questions, please contact the Administrator.

Sign in or create an account

You are logged in as:

Combobox in DatagridRow

Page : 1

Reply New topic
Author Message
Community Member
Join Date: 2012-01-23
Posts: 24
Post date 02-14-2012, 11:18
Is there a possibility to attach to specific column in Datagrid another component such as Combobox?

Join Date: 2008-12-01
Location: French Riviera
Posts: 47
Post date 02-15-2012, 15:49
Yes, it is possible, by using a DataGridItemRenderer object, but:

1) datagrid objects prevent mouse events on objects wrapped within a DataGridItemRenderer instance (I will add some properties to control that in the next release)
2) It is a verry bad practice to add several instances of Comboxe classes into your datagrid. You should use a simple DataGridItemRenderer (a shape with a bottom arrow) and combine it with a custom item editor.

Creator of SPAS 3.0

Page : 1