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

[Solved] How to reduce space between column

1 Answer 415 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jignesh
Top achievements
Rank 1
Jignesh asked on 15 Feb 2010, 09:26 AM
Hello Friends

I used new radgrid control in my page. It have more than 18 column need to display without horizontal or vertical scroll.

In old grid it is display fine but i compared new radgrid to old grid. I see there is a more space between column in new rad grid.

How i will reduce the space between column?

Please help me.

Thanks & Regards
Jignesh Patel

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 15 Feb 2010, 12:12 PM
Hello Jignesh,

You could try to remove or decrease the padding:
<style type="text/css">
    .RadGrid_Default .rgMasterTable .rgRow td,
    .RadGrid_Default .rgMasterTable .rgAltRow td,
    .RadGrid_Default .rgMasterTable .rgEditRow td,
    .RadGrid_Default .rgMasterTable .rgFooter td,
    .RadGrid_Default .rgMasterTable .rgFilterRow td,
    .RadGrid_Default .rgMasterTable .rgHeader,
    .RadGrid_Default .rgMasterTable .rgResizeCol,
    .RadGrid_Default .rgMasterTable .rgGroupHeader td
    {
        padding: 0;
    }
</style>

Regards,
Daniel
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.
Tags
Grid
Asked by
Jignesh
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or