PHP Classes

Problems resizing columns

Recommend this page to a friend!

      DrasticTools  >  All threads  >  Problems resizing columns  >  (Un) Subscribe thread alerts  
Subject:Problems resizing columns
Summary:Problems with column sizes
Messages:2
Author:Carlos Fernando S Antunes
Date:2010-11-25 00:15:30
Update:2010-11-26 21:46:37
 

  1. Problems resizing columns   Reply   Report abuse  
Picture of Carlos Fernando S Antunes Carlos Fernando S Antunes - 2010-11-25 00:15:33
Hello,

I have a few columns that are quite big. If I size them as so:

var thegrid = new drasticGrid('grid1', {pathimg: "img/",
pagelength: 15,
columns: [
{name: 'URL', width: 200, editable: true},
{name: 'Keywords', width: 100, editable: true},
{name: 'Category', width: 50, editable: true},
{name: 'AccountName', width: 50, editable: true},
{name: 'Flag', width: 20, editable: true},
{name: 'LastUpdate', width: 50, editable: false}
]});


What happens is that they all overlap each other and the size is not what I set.

My questions are:

1) How do I get the columns properly sized?
2) Is there an horizontal scroll bar?
3) Can I resize the entire grid?

Thanks in advance.

  2. Re: Problems resizing columns   Reply   Report abuse  
Picture of dd dd - 2010-11-26 21:46:37 - In reply to message 1 from Carlos Fernando S Antunes
Hi Carlos,

1. We are not completely sure about the answer but our guess is that something else on the page restricts the size of the html table ans therefore the widths you specified cannot be fulfilled.

2. Not in the grid itself. The browser may provide one.

3. Not dynamically, the only mechanism that is built in right now is the width parameter.

regards, dd