-
15 Mar 2011 10:48 AM #1
[CLOSED]Ext.grid.RowEditing - size problems
[CLOSED]Ext.grid.RowEditing - size problems
Hi,
The Ext.grid.RowEditing plugin seems to have trouble to fit and size correctly while active.
When textarea is use and just one row is available from grid store, the "Save" and "Cancel" buttons are hidden by editor container.
Plus, container fields shift to the right.
Last thing: NumberFields are not showing properly when flex is replaced by very small widths.
Here is my code:
Coding with extjs4 is really amazingCode:Ext.regModel("Product", { fields: [{ name: "id", type: "int" }, { name: "ref", type: "string", allowBlank: false }, { name: "desc", type: "string" }, { name: "price_buy", type: "float" }, { name: "price_sell", type: "float" }] }); Ext.define("App.Products.Grid", { extend: "Ext.grid.GridPanel", alias: "widget.app.products.grid", store: Ext.create("Ext.data.Store", { model: "Product", autoLoad: true, proxy: { type: "rest", url: "/products", reader: { type: "json", root: "product", successProperty: "success", messageProperty: "message" } } }), plugins: Ext.create("Ext.grid.RowEditing", { editors: [{ name: "ref", xtype: "textfield" }, { name: "price_buy", xtype: "numberfield" }, { name: "price_sell", xtype: "numberfield" }, { name: "desc", xtype: "textarea" }] }), headers: [{ text: "Reference", isCellEditable: true, flex: 2, sortable: true, dataIndex: "ref" }, { text: "Buy price", isCellEditable: true, flex: 1, sortable: true, dataIndex: "price_buy" }, { text: "Sell price", isCellEditable: true, flex: 1, sortable: true, dataIndex: "price_sell" }, { text: "Description", isCellEditable: true, flex: 1.5, sortable: false, dataIndex: "desc" }] });
Thank you !
Best regards,
bydooweedoo
-
15 Mar 2011 7:22 PM #2
It's still under development, it will be fixed in a future release.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Ext.Window size problems with different browsers
By estesbubba in forum Ext 3.x: Help & DiscussionReplies: 6Last Post: 29 May 2010, 12:58 PM -
Problems when changing table column size
By Orion- in forum Ext GWT: Help & Discussion (1.x)Replies: 5Last Post: 26 May 2008, 12:28 AM -
Problems with size in Panel.
By Kimi in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 12 Feb 2008, 3:59 AM -
[2.0b1][CLOSED] Problems with grid reconfigure
By efreitasrj in forum Ext 2.x: BugsReplies: 4Last Post: 1 Nov 2007, 1:08 PM


Reply With Quote