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

Set margins for column items

2 Answers 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Laura
Top achievements
Rank 1
Laura asked on 23 Oct 2008, 04:10 PM
Sometimes something is probably so simple that you cannot see it. I think this may be the case with this. I am trying to set the margins of a simple grid that I am embedding within a tooltip. The right and left sides of the text within the grid are practically touching the vertical lines separating the column, and I would like to set a right and left margin for each column. How can I do that?

Thanks,
Laura

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 23 Oct 2008, 04:43 PM
Hello Laura,

Please test this approach:
<style type="text/css"
    .GridRow_Vista td, .GridAltRow_Vista td 
    { 
        padding-left: 10px !important; 
    } 
</style> 

You need to change Vista with the actual name of your skin.

I hope this helps.

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Laura
Top achievements
Rank 1
answered on 23 Oct 2008, 05:33 PM
Wonderful! Just what I wanted...

Thanks,
Laura
Tags
Grid
Asked by
Laura
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Laura
Top achievements
Rank 1
Share this question
or