Home Forums WPF controls Xceed DataGrid for WPF Two ComboBoxes in a row

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #22755 |

    Hai,

    I have to comboboxes in a row, one should be populate based on the selection of the other, how can we do that

    can anyone help me out please

    Imported from legacy forums. Posted by Suresh (had 2444 views)

    User (Old forums)
    Member
    Post count: 23064

    dont have time for a full investigation but;
    you could read the posts on dynamic combobox I have done

    Load your data into a DataTable then have a Dataview (or other filtering control) in the Table.

    then use Validation on the column with the first combobox. Validation only because it will fire after the cell is edited. Then change the filter to your DataView during validation.

    Warning: This information is not tested. And may in fact cause you to Derive a custom DataGridControl that uses a CustomDataRow exposing the ActualContent property of the a CustomDataCell (only if you have to use validation as a means to setting the dataview filter)

    I have done most of this with much success and would be glad to share when I have the time.
    Unless you want to figure it out on your own to learn and grow as a developer

    Imported from legacy forums. Posted by MiddleTommy (had 272 views)

    User (Old forums)
    Member
    Post count: 23064

    Dynaminc Combobox
    http://forums.xceed.com/forums/ShowPost.aspx?PostID=6115

    Imported from legacy forums. Posted by MiddleTommy (had 3761 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.