POLALA.COM
welcome to my space
X
Web Design | Video Games | RVs | Religion | Management | Supplements and Vitamins | Software | Basketball | Related articles
Welcome to:polala.com
Search:  
 HOME   numberfield on EditorGridPanel

numberfield on EditorGridPanel

Published by: webmaster 2009-01-07
  • Ext2.2-用XML做数据源,可编辑Grid的例子 - Ext - 提供最全面最实用的Java面试题,Java代码,Java项目,Java ::
    editor: new fm.NumberField({ // 数字编辑框 decimalPrecision: 0, // 默认的小数点位数 默认按照姓名正向排序 }); // 创建可编辑的 Grid var grid = new Ext.grid.EditorGridPanel({ store:
    http://www.java2000.net/p8972
    HOME
    Hello,
    I have numberfields on EditorGridPanel.
    When I click the numberfield without changing, and clicking another field, It puts red star on the left top corner of the numberfield. It behaves like changed field.

    I don't want it.
    What can I do?

    Thanks for your attention.


  • the Editorgrid example doesn't behave like you said (try it out on the price column):
    http://extjs.com/deploy/dev/examples/grid/edit-grid.html


  • check your 'price' Record field definition and make sure it's correctly defined as a float
    i.e.

    {name: 'price', type: 'float'}


  • Dear mystix,
    Ext学习及应用经验心得体会小结 - Extjs - AJAX实例站 - 最全的AJAX相关技术资料站点。::
    树信息的TreePanel、用于显示表格的GridPanel及EditorGridPanel,还有代表应用程序窗口的Ext.Window等都 同样的道理,对于Ext的表单字段来说,不管是ComboBox,NumberField、还是DateField,他们其它都是Ext.form.Field类的子类,
    http://www.ajaxsamples.cn/html/20604.html
    HOME
    Ext学习及应用经验小结-开源人博客::
    树信息的TreePanel、用于显示表格的GridPanel及EditorGridPanel,还有代表应用程序窗口的Ext.Window等都 同样的道理,对于Ext的表单字段来说,不管是ComboBox,NumberField、还是DateField,他们其它都是Ext.form.Field类的子类,
    http://www.vifir.com/portal.ejf?cmd=topicShow&id=2490368
    HOME
    Thank you for quick reply.
    I looked the example, you are right.
    I don't understand why my numberfileds behaves different.
    My code is:

    {
    id:'cmOurPrice',
    hidden :false,
    header: "Our Price",
    dataIndex: 'Price',
    width: 60,
    sortable: true,
    renderer: function(data) {
    var decimalZero=true;
    var showCurrency = true;
    return '' + formatNumber(Number(data),decimalZero,showCurrency ) + '


  • Dear mystix,
    You are right again. I forgot to define type:'float'.
    My problem solved by this way.

    thank you very much...
    good works.





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market
    PRINT Add to favorites
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about numberfield on EditorGridPanel , Please add it free.
  • opening custom window from flash having issues
  • boundary problems
  • floating gallery
  • making a flash poll
  • dynamic photo button not possible
  • anyway to disable the f11 with javascript
  • animating mouse movement
  • dynamically loading updating text
  • problems with xml gallery with thumbnails
  • flash showing up in firefox but not ie for pc
  • playing a flv in reverse
  • kirupa context menu help
  • txt documents in flash
  •  
  • how can you do this
  • flash and browsers publishing with xml
  • click to activate use this control every time a window is opened
  • flash display movieclip
  • targeting frames with onrelease in btn symbols
  • imported compiled video
  • what do i need to research
  • flash loader problem
  • trying to locate a tutorial
  • please help how do i intialize a movie clip when onload doesn t work
  • how do i intialize a movie clip b4 its renedered
  • default bitmap compression flash 8
  • linking a dynamic menu from laco tweening class
  • digital clock for more countries
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 polala.com        Site made:CFZ