How can I show GridView title (caption)?

18 posts, 0 answers
  1. Oleksandr Vashchenko
    Oleksandr Vashchenko avatar
    7 posts
    Member since:
    Jan 2010

    Posted 18 Mar 2010 Link to this post

    In fact the question is in the thread name. :) I couldn't find any information about how to do it. The only thing I found is that Grid Caption Text is not what I'm looking for.
  2. Svett
    Admin
    Svett avatar
    728 posts

    Posted 23 Mar 2010 Link to this post

    Hello Oleksandr Vashchenko,

    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.
  3. Oleksandr Vashchenko
    Oleksandr Vashchenko avatar
    7 posts
    Member since:
    Jan 2010

    Posted 26 Mar 2010 Link to this post

    If there was a caption, then I could adjust gridview position more easily - because there would be no need to adjust label position. Finally, it's logical - grid's title is property of the grid.
  4. Svett
    Admin
    Svett avatar
    728 posts

    Posted 29 Mar 2010 Link to this post

    Hello Oleksandr Vashchenko,

    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.
  5. Adolfo
    Adolfo avatar
    1 posts
    Member since:
    Jun 2010

    Posted 24 Jun 2010 Link to this post

    Hi,

    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.
  6. Svett
    Admin
    Svett avatar
    728 posts

    Posted 30 Jun 2010 Link to this post

    Hello Adolfo,

    Presently, this is not possible with out tool, so we will consider it as feature request.

    Regards,
    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
  7. Abin
    Abin avatar
    1 posts
    Member since:
    Aug 2012

    Posted 10 Sep 2012 Link to this post

    Hi all,

    Can any one help me to add a caption/title for RadGridView.?

  8. Svett
    Admin
    Svett avatar
    728 posts

    Posted 12 Sep 2012 Link to this post

    Hi Abin,

    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
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  9. Jon
    Jon avatar
    27 posts
    Member since:
    Dec 2012

    Posted 26 Jun 2017 Link to this post

    Was this feature ever added? The link to the feature request is no longer valid, and I can't find a Caption property on the RadGridView, so I'm guessing not. But It would really be nice to have! For instance, when exporting the grid to PDF, the caption would be part of the grid instead of having to manually generate it.
  10. Dimitar
    Admin
    Dimitar avatar
    2838 posts

    Posted 27 Jun 2017 Link to this post

    Hi Jon,

    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
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  11. Steven
    Steven avatar
    4 posts
    Member since:
    Oct 2012

    Posted 29 Aug 2018 in reply to Dimitar Link to this post

    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?

  12. Dimitar
    Admin
    Dimitar avatar
    2838 posts

    Posted 30 Aug 2018 Link to this post

    Hello Steven,

    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
    Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  13. Steven
    Steven avatar
    4 posts
    Member since:
    Oct 2012

    Posted 30 Aug 2018 in reply to Dimitar Link to this post

    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)

  14. Dimitar
    Admin
    Dimitar avatar
    2838 posts

    Posted 31 Aug 2018 Link to this post

    Hello Steven,

    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
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  15. Steven
    Steven avatar
    4 posts
    Member since:
    Oct 2012

    Posted 31 Aug 2018 in reply to Dimitar Link to this post

    Hi Dimitar,

    I removed RadGroup (Parent Container of the GridView) which I was using for the caption and now it works.  Thank you!

  16. Dimitar
    Admin
    Dimitar avatar
    2838 posts

    Posted 03 Sep 2018 Link to this post

    Hi Steven,

    I am glad that this works well now. Do not hesitate to contact us if you have other questions.
     
    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  17. gaurav
    gaurav avatar
    8 posts
    Member since:
    Jun 2019

    Posted 25 Jul 2019 Link to this post

    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?

     

  18. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3559 posts

    Posted 25 Jul 2019 Link to this post

    Hello, Gaurav,   

    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
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top