17 Answers, 1 is accepted
Could you please share with us your idea of a RadGridView caption? Generally, RadGridView does not have a Caption property and if you need to have a text field over RadGridView, you can achieve this by locating a RadLabel on top of the grid.
Sincerely yours,
Svett
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thank you for your feedback. We will consider adding this feature if other customers request it. I have updated your Telerik points for the feature suggestion.
If you have further questions feel free to contact us back.
Best wishes,
Svett
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I live in Mexico and my English is not very good.
I am trying several tools to see which implements in software development. As i can put a title to each child grid, as shown in the attached.
Thank you.
Presently, this is not possible with out tool, so we will consider it as feature request.
Regards,
Svett
the Telerik team
Can any one help me to add a caption/title for RadGridView.?
You can simply position a RadLabel near by the top edge of the grid control, which you can use as a caption of your RadGridView instance. You can vote for the feature request here.
All the best,Svett
the Telerik team
This is still not implemented. Please note that it can be easily implemented with a group box hosting the grid, or a panel and a label.
The request was transferred to our Feedback Portal. You can track its progress, subscribe for status changes and add your comment to it here: ADD. RadGridView - add caption.
I hope this will be useful.
Regards,
Dimitar
Progress Telerik
I find the need for this as I'm using RadSplitContainer and docking the GridView. When I do this, I cannot utilize a label.
I would think this would be standard...is there any chance we can get this?
This feature is still not implemented. For your case you can use the following approach as a workaround:
var label =
new
RadLabelElement();
label.Text =
"Grid Title"
;
label.StretchVertically =
false
;
label.Alignment = ContentAlignment.TopLeft;
radGridView1.GridViewElement.Children.Add(label);
radGridView1.GridViewElement.Children[0].Margin =
new
Padding(0, 20, 0, 0);
I hope this will be useful.
Regards,
Dimitar
Progress Telerik
Hi Dimitar,
Thank you for the fast reply!!! Unfortunalty this did not work and wondering if it's something to do with VB or that I have a grouping pane? Below is the code I used, I put it in the form load event for now.
Dim label As New RadLabelElement With {
.Text = "AR Cash Receipts",
.StretchVertically = False,
.Alignment = ContentAlignment.TopLeft
}
RgvARCashReceipts.GridViewElement.Children.Add(label)
RgvARCashReceipts.GridViewElement.Children(0).Margin = New Padding(0, 20, 0, 0)
I am not sure why this is not working in your case, consider posting a ticket where you can attach the project. I have attached a VB test project that shows this as well.
Should you have any other questions do not hesitate to ask.
Regards,
Dimitar
Progress Telerik
Hi Dimitar,
I removed RadGroup (Parent Container of the GridView) which I was using for the caption and now it works. Thank you!
I am glad that this works well now. Do not hesitate to contact us if you have other questions.
Dimitar
Progress Telerik
I used the follwing as suggested by you the WPF application
var label = new RadLabelElement();
label.Text = "Grid Title";
label.StretchVertically = false;
label.Alignment = ContentAlignment.TopLeft;
this.ItemsGrid.GridViewElement.Children.Add(label);
this.ItemsGrid.GridViewElement.Children[0].Margin = new Padding(0, 20, 0, 0);
But I guess this is only for WinForms. Can you tell me how this can be achieved for WPF?
I would like to note that this forum is related to the Telerik UI for WinForms suite. If you have any inquiries regarding WPF, feel free to submit a question in the relevant forum: https://www.telerik.com/forums Thus, the appropriate support engineers or the WPF community will gladly assist you.
Thank you for your understanding.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik