-
1 Nov 2011 2:21 PM #1
Firefox grid bug
Firefox grid bug
REQUIRED INFORMATION
Ext version tested:- Ext 4.0 rev 7
- FF (all versions)
- All
- HTML Select element does not function properly in Firefox(any version) when loaded into a grid row. The Select element can be expanded so long as it is not already focused. Once focused, options cannot be selected by mouse, and select box cannot be expanded. However, if given focus, you can still use the keyboard to scroll through options.
- Add an HTML Select element to a grid row (I used the grid-plugins.js for this example)
- View your grid in any version of Firefox (windows and mac)
- Attempt to choose an option from your Select element.
- Option should be selected.
- Select element should be free to open and close.
- the option cannot be selected, the select box closes, and cant be opened again (until it loses focus)
HELPFUL INFORMATIONCode:var grid1 = Ext.create('Ext.grid.Panel', { store: getLocalStore(), columns: [ {text: "Company", flex: 1, dataIndex: 'company'}, {text: "Price", renderer: Ext.util.Format.usMoney, dataIndex: 'price'}, {text: "Change", dataIndex: 'change'}, {text: "% Change", dataIndex: 'pctChange'}, {text: "Last Updated", renderer: function() { return '<select><option>1</option><option>2</option><option>3</option></select>'} } ], width: 600, height: 300, plugins: [{ ptype: 'rowexpander', rowBodyTpl : [ '<p><b>Company:</b> {company}</p><br>', '<p><b>Summary:</b> {desc}</p>' ] }], collapsible: true, animCollapse: false, title: 'Expander Rows in a Collapsible Grid', iconCls: 'icon-grid', renderTo: Ext.getBody() });
Debugging already done:- Completely removed CSS
- disabled row selection with disableSelection: true
- in firebug, removed the class "x-grid-row" from the parent tr, this allowed the select to function again, but the entire row is no longer a functional piece of the grid
- not provided
- only default ext-all.css
- custom css (include details)
- mac os x lion
- WinXP Pro
-
2 Nov 2011 6:32 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
Little firefox quirk... works 100% in Chrome but not in firefox.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
3 Nov 2011 8:35 AM #3
Still an issue...
Still an issue...
I realize this is a problem in Firefox, and not chrome, as I have already pointed that out in the bug ticket. The question is... How do we fix it?
-
3 Nov 2011 8:51 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
3 Nov 2011 9:10 AM #5
You found a bug! We've classified it as
EXTJSIV-4334
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote
