Opened 8 years ago

Closed 6 years ago

#12555 closed defect (patchwelcome)

Selecting a on DataGrid in a ContentPane works on 1.5 but not 1.6

Reported by: jajubear Owned by: Evan
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.6.0
Keywords: Cc: jajubear@…
Blocked By: Blocking:

Description

I have created a DataGrid? below...

<div dojoType='dijit.layout.BorderContainer?' style='width:1120px;height:640px;'> <div dojoType='dijit.layout.ContentPane?' region='left' style='width:320px;'> <div id='grid_test' style='width:100%;height:100%;'></div> </div> <div dojoType='dijit.layout.ContentPane?' region='center' style='width:760px;'>ABCDEFG</div> </div>

The grid was created using:

grid_tb = new dojox.grid.DataGrid?({

rowsPerPage: 20, height: '480px', selectionMode: "single"

}, 'grid_tb');

The selection of grid items apparently work in 1.5 but not in 1.6

To repeat the problem, you can use any grid example available, and then place the grid inside a ContentPane?.

Change History (5)

comment:1 Changed 8 years ago by jajubear

further observation,

The selection failed when the total widths of all fields is < the 320px (Where 320 is the value of the width of content pane with the DataGrid?)

I tried creating with fields having total width > 320px, the selection works well.

comment:2 Changed 8 years ago by bill

Component: DojoX WidgetsDojoX Grid
Owner: changed from dante to evan

comment:3 Changed 8 years ago by Evan

Owner: changed from evan to Evan

comment:4 Changed 6 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 6 years ago by bill

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