English 中文(简体)
Ext JS 4: Change width and high of Ext-JS grid cell-editing widget example
原标题:Ext JS 4: Change width and height of Ext-JS grid cell-editing widget example

我竭力想说明如何改变“Ext JS”网的宽度和高度。 他们似乎始终处于固定的高度和宽度。 是否有任何人这样做? 我只是试图获得一个概念的证据,用以对照其他 Java本古倡议框架评价这一框架。

我现在举一个例子:

rel=“nofollow” http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/grid/cell-editing.html

组成网的有不同的微粒体,但不幸的是,栏目和数据都是通过 Java版动态构造的,你看不出超文本。 下面的四部分是电网栏和数据的四部分。 我能够改变火力和谷歌 develop开发器工具中的风格,但不能改变实际的CSS。

DIV 构成Ext JS grid的超文本标签:

gridpanel-1010_header
toolbar-1018
headercontainer-1011
gridpanel-1010-body

这里是“善待.html”的例子中使用的风格。 我猜想它必须在这里。

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Cell Editing Grid Example</title>
    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="../shared/example.css" />
    <link rel="stylesheet" type="text/css" href="../ux/css/CheckHeader.css" />
    <script type="text/javascript" src="../../bootstrap.js"></script>

    <script type="text/javascript" src="cell-editing-keith.js"></script>
</head>
<body>
    <div id="editor-grid"></div>
</body>
</html>
最佳回答

如果你自己有电网,那么看来你可以更改 Java形的宽度和高度。 你们不应像你一样控制国家安全局内的这些属性。

当你看望你的物体时,你只能界定“宽”和“八”性质。 请注意,如果你使用百分比,《Ext JS法典》将坠毁。 如果你使用一定数字,则假定该数字在纸浆中。 如果你想用百分比来做,则确保用单一数字表示。

var grid = Ext.create( Ext.grid.Panel , {
  ...
  width:  100% ,
  height: 300,
  ...
});

如果你不知道什么装置(子宫监测器、桌子、智能电话等),最终用户就会看到植被上的植被,而植被/集装箱则可能更有用。 布局界定了集装箱的规模如何使其儿童集装箱大小。 我已注意到,这与Java Swing UI结构非常相似。 Ext JS框架的制定者非常出色地总结了你在网页上发现的布局,与用户界面设计师所使用的结构一样。

www.un.org/spanish/ecosoc 集装箱停放(aka布):在其母体内组织超文本元素Container,并管理其儿童物品的大小(“这些物品只是“Ext JS”框架用于集装箱添加的物体清单的财产名称)。

- Auto (default layout)
- Anchor
- Absolute
- Table
- Column
- Card
- Hbox
- Vbox
- Accordian
- Border
- Box
- Fit

<>Component Layout:在Component上安排超文本部分。

- Dock Layout
- Toolbar Layout
- Field Layout (formerly known as Form Layout in Ext JS 3)
- TriggerField Layout
问题回答

暂无回答




相关问题
ExtJS load form items/fields from database

I am using ExtJS 3 here. I would like to populate a formpanel from database with fields to be submitted. Basically, I don t know witch fields my form will have and I want to generate all formpanel ...

How to use Ext JS for role based application

I am planning to use Ext JS for a large application. The application s features are role based. When user login, they only see menu and screen features related to them. My server side technology will ...

Dynamically adding a TabPanel to a Panel Region

I have a Panel layout with a TreePanel in one region. A user clicks on an node in the tree and a TabPanel should be displayed in another region with information, editing tools etc. for that tree node....

How to embed Json result within Extjs Panel?

I have some issues with Json result and embed it within the html of the Extjs Panel. Here s that I have managed to get so far. myPanel is embedded within a mainPanel, and I have some shows/hide of ...

Ajax data update. Extjs

I need to keep certain data ( in a grid) up to date and was gonna do a poll to the server every 15 seocnds or so to get the data and refresh the grid, however it feels a bit dirty ( the grid will have ...

Better way to call superclass method in ExtJS

All the ExtJS documentation and examples I have read suggest calling superclass methods like this: MyApp.MyPanel = Ext.extend(Ext.Panel, { initComponent: function() { // do something MyPanel ...

Merged Headers in Ext JS Grid

Is it possible to have two headers in Ext JS grids? I have to show my grid as grouped data.. for example product types and products. In my case I need a grid like this: Field | Product Type A ...

热门标签