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

How to change grid captions style

3 Answers 193 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rahul Khinvasara
Top achievements
Rank 1
Rahul Khinvasara asked on 03 Jun 2008, 11:57 AM
Hello Sir
    
        I working on 3 level Hierarchycal Grid but i want to change the caption style. for that there is no any properties or method to do that.
        so i am requesting to you for solve this issue. send me code or properties to change grid caption style or format.

        pls reply quickly

regards 
    swapnil

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Jun 2008, 12:07 PM
Hi ,

You can style the Caption as shown below.

<style type="text/css"
 
    .MasterTable_Default caption 
            { 
             color: red; 
            }    
 
    .DetailTable_Default caption 
            { 
             color: blue; 
            } 
     
    </style> 

You can also refer the following help article.
Caption Property

Thanks
Shinu.
0
Duc
Top achievements
Rank 1
answered on 09 Feb 2009, 10:27 PM
Is there a way to style the caption that's exported to PDF, word or excel?

Thanks
Duc
0
Princy
Top achievements
Rank 2
answered on 10 Feb 2009, 09:30 AM
Hello Duc,

A possible approach is to use the CommandItemTemplate of the grid and add the additional information in the template and style the text as required. You can refer to the sections: "Including additional information as part of the exported document" and "RadGrid formatting and PDF export" of the following help document to understand better:
Exporting tips and tricks

Thanks
Princy.
Tags
Grid
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Duc
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or