I would like to be able to use the expression editor as a stand-alone component. I've been playing with both the WinForms and WPF versions.
I do realize the WinForms version doesn't directly support standalone operation, so what I've done is created a RadGridView and made it invisible. I add some columns programmatically, and enable expression editing on the first one (only).
Then I have a button which launches the expression editor:
RadExpressionEditorForm.Show(grid1, grid1.Columns[0]);
Which does bring up the expression editor, and I see the other columns I've defined in the "Fields" list.
But the method RadExpressionEditor.Show() method is not modal -- it returns immediately, and I don't see an alternate ShowDialog() signature. Also, the method returns void, so I don't know whether the user pressed Cancel or OK.
I'm guessing that what I should do is handle some event on the grid view to know when the dialog has been dismissed ... but I've tried several, including CellValueChanged() and CellEndEdit(), and they don't ever seem to get called.
What am I doing wrong?!?
I do realize the WinForms version doesn't directly support standalone operation, so what I've done is created a RadGridView and made it invisible. I add some columns programmatically, and enable expression editing on the first one (only).
Then I have a button which launches the expression editor:
RadExpressionEditorForm.Show(grid1, grid1.Columns[0]);
Which does bring up the expression editor, and I see the other columns I've defined in the "Fields" list.
But the method RadExpressionEditor.Show() method is not modal -- it returns immediately, and I don't see an alternate ShowDialog() signature. Also, the method returns void, so I don't know whether the user pressed Cancel or OK.
I'm guessing that what I should do is handle some event on the grid view to know when the dialog has been dismissed ... but I've tried several, including CellValueChanged() and CellEndEdit(), and they don't ever seem to get called.
What am I doing wrong?!?