---
title: "EditorGridPanel 编辑框编辑状态文本对齐设置"
author: "solon.jar"
date: "2010-12-22T10:11:01Z"
tags: []
categories: ["Web前端"]
slug: "editorgridpanel"
draft: false
lastmod: "2010-12-22T10:14:23Z"
id: 848971
url: "https://solon-jar.iteye.com/blog/848971"
---

```
{header: "收联保返还物资款", dataIndex: 'amount', editor: 
                    new Ext.form.NumberField({style:'text-align: left'})
}
```

 

style:'text-align: **left'** 指定点击编辑区域后，文本框内容左对齐，默认情况下为右对齐(right)。