Opened 9 years ago

Closed 7 years ago

#11721 closed defect (patchwelcome)

Dojox Data Grid Rows and Dotted Borders not working under Google Chrome Windows

Reported by: Darth Owned by: Bryan Forbes
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.5
Keywords: Dojox Grid, CSS Border Dotted Cc:
Blocked By: Blocking:

Description

Just grab any dojo datagrid example from the dojox data grid page or from here http://docs.dojocampus.org/dojox/data/CsvStore or attached file. Dojo version 1.4 or 1.5 should show the issue.

Change the css style (you can do just do it on the fly in the developer tools directly) for

.dojoxGridRow {} to include border-bottom: 1px dotted black;

Under Google Chrome (latest stable or dev release - version 5, 6 or 7) windows you will not see a dotted bottom border. You will just see 1 dot on the left side of the row.

Other browsers including Google Chrome Mac will show a dotted border. Changing the dotted border to solid should work fine even on Chrome windows. Only dotted border is messed up.

In the same css class above, add width: 100%; and now the dotted border bottom will show, however this is just a workaround as the bottom border does not take up all the width due to padding etc.

Attachments (1)

test.html (2.6 KB) - added by Darth 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by Darth

Attachment: test.html added

comment:1 Changed 9 years ago by Darth

Also border-right doesn't show since the dojoxGridRow which is a div is overflowing it's parent's boundaries.

On could add borders to the cells, however that won't be in alignment of the Grid Header

comment:2 Changed 9 years ago by Darth

the Grid.css file defaults the width of dojoxGridRow to 9000em. Changing this to something like 320em fixes the issue.

comment:3 Changed 9 years ago by bill

Owner: changed from bryanforbes to Bryan Forbes

comment:4 Changed 7 years ago by bill

DojoX Grid and EnhancedGrid are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

comment:5 Changed 7 years ago by bill

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.