Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
Can I show different UltraEditors for one grid column depending on the value of other column?
posted

Hi.

Imagine a grid with two columns, the first let you to choose a field type, (Ex. True/False, Value list, Text) and the second must show an UltraEditor depending on the selected type. And it can be different on the next row.

Is this possible?

Of course, I can detect CellClick event and open a popup window, but I would like to use a smarter solution.

Thanks.

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    Yes, you can set the EditorComponent or Editor property on the cell. But this can be a bit tricky, because the DataType of the column applies to all of the cells. So you would have to use a DataType that is compatible with all of the editor types you intend to use.

Children