Skip to main content

yahoo datatable cell padding

3 replies [Last post]
tapani
Offline
Joined: 2008-11-11
Points: 0

How to change yahoo datatable cell padding?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

Hi Tapani,

In the /resources/yahoo/dataTable/component.css add the following:

.yui-skin-sam .yui-dt td {padding:35px}

Where padding is the padding you want.

Let me know if that doesn't work for you.

-Greg

tapani
Offline
Joined: 2008-11-11
Points: 0

Hi Greg,
this does not have any effect in my application.
In Yahoo datatable all columns has too much space between border and the first letter or number in any cell.

Actually my basic problem is:
I use rightSidebar template with default settings. On left side I have a Yahoo datadable with 15 columns. Yahoo datatable gets more width when I stretch the window of browser . But if i make the window narrower Yahoo datatable has a minimum width. In the case when datatable should get narrower than "

" datatable starts to "mix" itself with the content of rightSidebar.

Tapani

tapani
Offline
Joined: 2008-11-11
Points: 0

JMaki 1.8.1.1 has dojo table and padding for columns is almost as it should be.

Tapani