Ext JS 网格列中是否可以有不同的元素?如果是,我该怎么做?如果没有,是否有其他合适的解决方案?也许举个例子。
谢谢你的帮助!
亲切的问候,嘘
What do you mean by different elements exactly?
You could use a TemplateColumn, and put in any markup and record values that you want
You could use the .renderer() method to return any markup that you want
You could use the .getRowClass() method to return a different css class depending on content
If you want to put an actual ExtJS component in a grid column, you should use Skirtle's ComponentColumn