문제

I have a data-aware cxgrid connected to a toracledataset object.

Inside the DB is a column defined as number(1,0) to allow boolean values.

I want to format the corresponding grid column as ComboBox to give the user the ability to choose between the two options.

How can I cast the string inside the combobox to the integer value that will be inserted in the DB? I know how to do that with a regular combobox, but not inside a cxgrid

도움이 되었습니까?

해결책

The best way will be to use a cxEditrepositiory add a cxImageComboBox add Items and define Value and Valuetype this then can be choosen for your GridColum.RepositoryItem

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top