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

Programming Detail Line

5 Answers 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Diogo Marins
Top achievements
Rank 1
Diogo Marins asked on 03 May 2012, 03:56 PM
Dear,

How can I (programmatically) to view a detail line (containing the description of the request) below the selected row in the grid?

In which event this program?


Looking forward ... 

5 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 03 May 2012, 04:47 PM
Hello, 

I am not sure what you would like to do. 
I understand that you have a RadGridIView that is filled with data. It seems as though you want to be able to get to the data from the cells of a particular row. Is this the case? If so, under what circumstance would you like to get to this data? 

Please let me know so I can help further
Thanks
Richard
0
Diogo Marins
Top achievements
Rank 1
answered on 03 May 2012, 05:11 PM
What I need is to show a description (any text) in detail line by selecting a record in thegrid as image attachment.

I would do the same thing as in the image except the photo of the person need onlydisplay the text. 
0
Richard Slade
Top achievements
Rank 2
answered on 03 May 2012, 05:17 PM
Hello, 

You can see a full demo and code example of the Row Details Grid by going to the Demos that are installed on your computer with the Telerik Controls. 

Open the Demo Application and browse to Grid View >> Rows >> Row Details. This will give you a full code sample of how to perform this functionality. 

Hope this helps
Richard
0
Diogo Marins
Top achievements
Rank 1
answered on 03 May 2012, 07:12 PM
Richard,

I tried to follow the example code from the demonstration, but could not reproduce it.

When I put this snippet:

this.radGridView1.DetailsColumn this.radGridView1.Columns = ["column name"];

The IDE complains error.

Can you guide the program this row details? 
0
Svett
Telerik team
answered on 07 May 2012, 02:32 PM
Hello Diogo,

You can get all necessary classes and files from the example that Richard is talking about.

Regards,
Svett
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Diogo Marins
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Diogo Marins
Top achievements
Rank 1
Svett
Telerik team
Share this question
or