-
9 Aug 2010 5:26 AM #1
[CLOSED][Ext 3.3 beta][OPEN-1187] Problem when using checkBoxSelectionModel
[CLOSED][Ext 3.3 beta][OPEN-1187] Problem when using checkBoxSelectionModel
I have downloaded new version and I added checkBoxSelectionModel in the Action column example which are shown in blog. Below is the code for it.
When I open it in Chrome, it shows two checkbox in each row instead of one (Refer Image 1.png).Code:var sm=new Ext.grid.CheckboxSelectionModel({singleSelect:false}); var grid = new Ext.grid.GridPanel({ store: store, sm:sm, columns: [ sm, {id:'company',header: 'Company', width: 160, sortable: true, dataIndex: 'company'}, {header: 'Price', width: 75, sortable: true, renderer: 'usMoney', dataIndex: 'price'}, {header: 'Change', width: 75, sortable: true, renderer: change, dataIndex: 'change'}, {header: '% Change', width: 75, sortable: true, renderer: pctChange, dataIndex: 'pctChange'}, {header: 'Last Updated', width: 85, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}, { xtype: 'actioncolumn', width: 100, items: [{ iconCls:'viewAndTagClass', // Use a URL in the icon config handler: function(grid, rowIndex, colIndex) { var rec = store.getAt(rowIndex); alert("Sell " + rec.get('company')); }, tooltip: 'Sell stock' }, { iconCls: 'similarDocClass', // Or use a class in the iconCls config handler: function(grid, rowIndex, colIndex) { var rec = store.getAt(rowIndex); alert("Buy " + rec.get('company')); }, tooltip: 'Buy stock' }] } ], stripeRows: true, autoExpandColumn: 'company', height: 350, width: 600, title: 'Array Grid', // config options for stateful behavior stateful: true, stateId: 'grid' });
but in Firefox and IE its looks perfect (Refer Image 2.png).
It seems that, it might be bug in this component.
Please provide some workaround ASAP.
Thanks
-
9 Aug 2010 8:20 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
Thank you for the report.
-
9 Aug 2010 12:51 PM #3
This does not show up here: http://dev.sencha.com/deploy/dev/exa...d-plugins.html
It also does not show up if I modify the array-grid.js example as you suggest.
Did you update the CSS and images too when you upgraded?Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
9 Aug 2010 10:49 PM #4
yes I have updated all the css and in fact I have copied complete folder of new version.
I have checked same example with extjs version 3.2.1 and it runs proper.
But when same example run with extjs version 3.3 Beta, its behavior change.
Link sent by you in which behavior seem proper contains example developed using version 3.2.1 but this problem I found in version 3.3 Beta.
-
10 Aug 2010 3:36 AM #5
-
10 Aug 2010 3:42 AM #6
I don't see this in Chrome with beta or the latest build from SVN. Make sure you've deployed all the css/images correctly and clear your cache too.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
10 Aug 2010 3:59 AM #7
-
10 Aug 2010 4:18 AM #8
-
10 Aug 2010 4:19 AM #9Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
1. Which Chrome version are you using?
2. How does the standard ext 3.3-beta1 Grid Plugins Example look on your Chrome browser? It looks ok on my Chrome 5.0.375.125.
-
10 Aug 2010 6:35 AM #10
Finally I came to solution and the solution is really amazing for me.
Actually, in my jsp file where I am importing all js files, the first line is
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
and above line was creating problem otherwise everything was proper.
When I removed above line, it started to work like charm.
My problem is resolved but can you explain the reason for it?
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[OPEN-1278] SCRIPT438 error with IE9 Beta and ext-all-debug.js
By stevenwilford in forum Ext 3.x: BugsReplies: 8Last Post: 9 Apr 2012, 7:05 AM -
[OPEN-1232] CalendarPanel bug when placed inside a Panel (Ext 3.3 beta)
By omermx in forum Ext 3.x: BugsReplies: 7Last Post: 23 Nov 2011, 5:00 AM -
[OPEN-1274][3.3 Beta] Ext.grid.HeaderDropZone - unused code?
By mankz in forum Ext 3.x: BugsReplies: 0Last Post: 17 Sep 2010, 3:45 AM -
Problem when using checkBoxSelectionModel in GridPanel in extjs 3.3 beta version
By sunil_vakotar in forum Ext 3.x: Help & DiscussionReplies: 22Last Post: 16 Aug 2010, 1:44 AM -
[CLOSED][3.0 Core] (beta): Problem with Ext.CompositeElementLite.item
By akva in forum Ext 3.x: BugsReplies: 4Last Post: 25 Apr 2009, 8:59 AM


Reply With Quote