Opened 8 years ago

Closed 8 years ago

#13487 closed defect (patchwelcome)

Long title in the header of DataGrid is chopped off with autoWidth is set.

Reported by: anandn@… Owned by: Evan
Priority: blocker Milestone: 1.8
Component: DojoX Grid Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

If 'autoWidth' is used and the width for the columns are not set, if the column header title string is long, it gets chopped off.

I have three columns. The first columns width is set, but the other columns should be resized automatically and the grid to use autoWidth.

Attachments (1)

test_data_grid_autowidth.html (1.7 KB) - added by anandn@… 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by anandn@…

comment:1 Changed 8 years ago by Evan

Owner: changed from evan to Evan

comment:2 Changed 8 years ago by Colin Snover

Priority: highblocker

Bulk update of open ticket priorities.

comment:3 Changed 8 years ago by Evan

Milestone: tbd1.8
Resolution: patchwelcome
Status: newclosed

DataGrid? doesn't provide the capability to smartly auto expand column width to well fit the title content. Instead a default column width will be set(6em).

The "autoWidth" actually means size of grid.domNode can fit the total width of all columns to eliminate the HScrollBar. The only workaround is setting a larger column width in that case.

Note: See TracTickets for help on using tickets.