Forum Discussion

Medved's avatar
Medved
Occasional Contributor
6 years ago

Selecting a row from DevExpress.Xpf.Grid.TreeListView by string

Hello,

 

I'd like to select a row from a DevExpress.Xpf.Grid.TreeListView by its content (a string). I tried

 

myTreeListControl.View.SelectRowByValue_2("myFieldName", "00.00");

but I get a NullReferenceException.

 

Does anyone had a similar problem and can help me? Thank you very much!

 

Kind regards

Medved

1 Reply

  • Novari-QA's avatar
    Novari-QA
    Frequent Contributor

    Perhapds you can create a link to an object with extended find and custom parameter to the "myFieldName"