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

GridBuilder Header

4 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 05 May 2016, 06:27 PM
Hello, I am trying to generate a header with the grid title at the top of my grid along with a close "x" button in the top right corner. Is this possible? 

4 Answers, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 09 May 2016, 07:04 AM
Hello Scott,

Can you please provide some additional information on the requirement that you have? From what I understand, you need to display a row over the Grid with some text and a button. If that is the case, you can wrap the widget in a DIV element for example and place your "header row" with the title and the button over the Grid. Another option would be to customize the headers of the columns or the toolbar:
Hope this helps.


Regards,
Konstantin Dikov
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Scott
Top achievements
Rank 1
answered on 10 May 2016, 11:17 PM

Thank you for your reply. A simple div tag did the trick for the title. 

<div style="text-align:center">

    <b>TITLE HERE</b>
    <br /><br />
</div>

As for the close button, do you know how I would go about implementing that logic?

Thanks,

Scott

0
Accepted
Konstantin Dikov
Telerik team
answered on 12 May 2016, 11:22 AM
Hello Scott,

Can you please elaborate what should that close button do and how this is related to the Grid widget? If the question is related to the positioning of the button, there are several approach that could be used, but the easiest would be to use a table element with two cells (one for the title and one for the button). Another approach is to play around with the float of the elements (left for the title and right for the button).

Looking forward to your reply.


Regards,
Konstantin Dikov
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Scott
Top achievements
Rank 1
answered on 12 May 2016, 09:47 PM

Hello Konstantin,

I do apologize. It seems that all my answers can be handled outside of the Kendo functionality like you mentioned. Thanks for much for the help. 

Tags
Grid
Asked by
Scott
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Scott
Top achievements
Rank 1
Share this question
or