如何在cxGrid中填充组合框取决于同一cxGrid中的列值

时间:2011-06-27 02:40:01

标签: sql combobox devexpress tcxgrid

myComboboxDatasetSQLQuery:

select 0 as priv_id, 'нет' as priv_name from dual
union all
select 1 as priv_id, 'просмотр' as priv_name from dual
union all
select 2 as priv_id, 'изменение' as priv_name from dual
union all
select 3 as priv_id, 'администратор' as priv_name from dual where :USER_TYPE != 1

问题
- 我如何在cxGrid中使用lookUpComboBox单元格在同一个cxGrid中的USER_TYPE单元格中使用依赖值?