Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    7
    Vote Rating
    0
    bydooweedoo is on a distinguished road

      0  

    Default [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:
    Code:
    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"
    	}]
    });
    Coding with extjs4 is really amazing

    Thank you !

    Best regards,
    bydooweedoo

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,125
    Vote Rating
    514
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    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!

Similar Threads

  1. Ext.Window size problems with different browsers
    By estesbubba in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 29 May 2010, 12:58 PM
  2. Problems when changing table column size
    By Orion- in forum Ext GWT: Help & Discussion (1.x)
    Replies: 5
    Last Post: 26 May 2008, 12:28 AM
  3. Problems with size in Panel.
    By Kimi in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 12 Feb 2008, 3:59 AM
  4. [2.0b1][CLOSED] Problems with grid reconfigure
    By efreitasrj in forum Ext 2.x: Bugs
    Replies: 4
    Last Post: 1 Nov 2007, 1:08 PM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar