Opened 7 years ago

Closed 7 years ago

#16225 closed defect (invalid)

gridx can't be rendered right in a TabContainer

Reported by: unicode_dojo Owned by: Evan
Priority: undecided Milestone: tbd
Component: DojoX Grid Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:

Description

I found a defect with GridX(not dojox.datagrid), should I submit it here?

I use gridx with a indirectselect feature(two plguins used: 'gridx/modules/RowHeader', 'gridx/modules/IndirectSelect') in a tab, the column for checkbox is shifted, and the first data column disappears.

code as following:

<body class="claro" data-maq-flow-layout="true" data-maq-ws="collapse" id="myapp" data-maq-appstates="{}">
<span data-dojo-type="dijit.layout.TabContainer" style="min-width: 1em; min-height: 1em; width: 100%; height: 300px;" controllerWidget="dijit.layout.TabController">
<div data-dojo-type="dijit.layout.ContentPane" title="Tab 1" extractContent="false" preventCache="false" preload="false" refreshOnShow="false" selected="selected" closable="false" doLayout="false" style="width: auto; height: auto;">
   <span data-dojo-type="dojo.data.ItemFileReadStore" id="ItemFileReadStore_1" jsId="ItemFileReadStore_1" data="{&quot;identifier&quot;:&quot;unique_id&quot;,&quot;items&quot;:[{&quot;unique_id&quot;:1,&quot;id&quot;:&quot;1&quot;,&quot;label&quot;:&quot;Label 1&quot;},{&quot;unique_id&quot;:2,&quot;id&quot;:&quot;2&quot;,&quot;label&quot;:&quot;Label 2&quot;}]}"></span>
   <table data-dojo-type="gridx.Grid" style="min-width: 1em; min-height: 1em; width: 100%; height: 300px;" data-dojo-props="cacheClass: 'gridx/core/model/cache/Async',structure:[{width:'auto',name:'id',field:'id'},{width:'auto',name:'label',field:'label'}],store:ItemFileReadStore_1,modules: ['gridx/modules/VirtualVScroller','gridx/modules/ColumnResizer','gridx/modules/extendedSelect/Row','gridx/modules/SingleSort', 'gridx/modules/RowHeader',	'gridx/modules/IndirectSelect']"></table>
 </div>
 <div data-dojo-type="dijit.layout.ContentPane" title="Tab 2" extractContent="false" preventCache="false" preload="false" refreshOnShow="false" selected="selected" closable="false" doLayout="false"></div>
 </span></body>

if used in the ContentPane? which is the top container, all is right. The screenshot see attached picture.

OS: Windows7 HOME; Browser: Chrom18 and IE9

Attachments (2)

girdx-checkbox.png (9.7 KB) - added by unicode_dojo 7 years ago.
ScreenShot?
testgrid.html (2.9 KB) - added by unicode_dojo 7 years ago.
Test File

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by unicode_dojo

Attachment: girdx-checkbox.png added

Changed 7 years ago by unicode_dojo

Attachment: testgrid.html added

Test File

comment:1 Changed 7 years ago by Evan

Resolution: invalid
Status: newclosed

Hi unicode_dojo,

gridx issues are maintained at gridx git, you may report futher issues there.

I just moved this to gridx #17

Thanks!

Note: See TracTickets for help on using tickets.