HomeActive Query BuilderHow to Disable ExpressionColumn in CriteriaList

How to Disable ExpressionColumn in CriteriaList


Hi,

I want to disable user from selecting or editing fields in the ExpressionColumn.
I tried setting

QueryBuilder1.CriteriaListOptions.DisableDirectEditingIn = CustomExpressionBuilderColumns.ExpressionColumn

but i'm still able to edit the ExpressionColumn entries.

Can you tell me if there is a way I can disable the column

Many thanks
- Harindya
Harindya | email
May 28 2012, 12:26 PM
This property denies _direct_ editing in Expression column cells, i.e. typing SQL expressions manually (some programmers want to force users to use custom expression editor instead of inline cell editor).

Use the GridCellValueChanging event and set abort to true to deny any changes.
Sergey Smagin | email
1 day, 14 hours since original post
This topic is closed