slickgrid模态没有正确对齐

时间:2017-10-07 03:12:43

标签: angularjs slickgrid

Slickgrid列

var columns = [
                    {id: 'validity', name: gettextCatalog.getString('Valid'), field: 'validity', width: 80, formatter: validityFormatter},
                    {id: 'mid', name: gettextCatalog.getString('MID'), field: 'mid',  width: 70, formatter: midFormatter, asyncPostRender: editAttributes, editor: editors.inputTextBox},
                    {id: 'merchantName', name: gettextCatalog.getString('Merchant Name'), field: 'merchantName', width: 100, formatter: nameFormatter},
                    {id: 'status', name: gettextCatalog.getString('Status'), field: 'status',  width: 40, formatter: statusFormatter, asyncPostRender: editAttributes, editor: editors.inputTextBox},
                    {id: 'orderId', name: gettextCatalog.getString('OrderId'), field: 'orderId',  width: 40, formatter: orderFormatter, asyncPostRender: editOrderAttributes},
                    {id: 'amount', name: gettextCatalog.getString('Amount'), field: 'amount', width: 75, formatter: amountFormatter, asyncPostRender: editAttributes, editor: editors.inputTextBox},
                    {id: 'Action', name: gettextCatalog.getString('Delete'), field: 'action', width: 50, formatter: actionsFormatter}
                ];

我还在列选项中使用了forceFitColumns: true,但网格没有正确对齐。

0 个答案:

没有答案