extjs6.2 - ExtJS GridPanel 用一列上传文件
问题描述
我想要Ext.Grid.Panel
一些文本列和一列来上传文件。
解决方案
您可以使用widgetcolumn
小filefield
部件。
代码片段:
{
xtype: 'widgetcolumn',
dataIndex: 'signature',
widget: {
xtype: 'filefield',
name: 'signature'
}
}
推荐阅读
- c# - WPFApp 中的 DLLImport 不起作用(PInvokeStackImbalance)
- javascript - 如何在 Javascript 中将日期格式化为 2020 年 6 月 16 日星期一
- video - 复制到 matroska 的 FFMPEG mp4 丢失最后一帧
- python - 为什么我仍然得到 ManyToManyField 比较的旧值?
- git - 如何检查 git 存储库中哪些功能最常用
- c++ - 我可以有一个 ELI5 用于引用和指针以及何时使用它们吗?
- javascript - JavaScript - 按值和最多两个级别对数组进行分组
- amazon-web-services - 如何通过 Web 浏览器(不是控制台)使用 Amazon S3 存储桶
- php - 在 WooCommerce 的电子邮件中在表格下方重复的订单项目名称
- python-3.x - 在循环 Python 中创建对象——令人费解的行为