This is a migrated thread and some comments may be shown as answers.

radgridview hierarchy problem

0 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Fier
Top achievements
Rank 1
Fier asked on 20 Dec 2012, 09:11 AM
Hi
I ask for help, there is a small problem.

There are two tables: the nomenclature and files.

Nomenclature hierarchy built in RadTreeView.
List of files in RadGridView
When you select a list of files filled in gridview
Doing so:

protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            this.nomenclatureTableAdapter.Fill(this.dataSet.nomenclature);
            this.filesTableAdapter.Fill(this.dataSet.files);

            radGridView1.DataSource = this.index3fkBindingSource;

            this.radGridView1.Relations.AddSelfReference(radGridView1.MasterTemplate, "ID", "FID");
        }
The first time he correctly selects and builds a hierarchy.
But when another node, it populates the file list in their previous range, and even without the hierarchy.
SubFiles is not visible and not the list of files.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Fier
Top achievements
Rank 1
Share this question
or