Comments (2)
Example of column definition:
const columns: ProColumns<API.DeviceItem>[] = [
{
title: 'Host ID ',
dataIndex: 'uuid',
valueType: 'textarea',
hideInTable: true,
},
{
title: 'IP',
dataIndex: 'ip',
render: (dom, entity) => {
return (
<a
key={entity.uuid}
onClick={() => {
setCurrentRow(entity);
setShowDetail(true);
}}
>
{dom}
</a>
);
},
},
{
title: 'Hostname',
dataIndex: 'hostname',
valueType: 'textarea',
},
{
title: 'Status',
dataIndex: 'status',
hideInForm: true,
valueEnum: {
0: {
text: 'Registering',
status: 'Warning',
},
1: {
text: 'Online',
status: 'Success',
},
2: {
text: 'Down',
status: 'Error',
},
3: {
text: 'Unmanaged',
status: 'Processing',
},
},
},
from pro-components.
Continuing further my investigation and looking at the request part of ProTable, printing the filter
argument
{ filters: true/false, onFilter: true/false}
is never printing any values in the object (in this example, uuid is always null in the filter param of the request call).
from pro-components.
Related Issues (20)
- 🐛[BUG] 使用可编辑表格时,在renderFormItem里返回的ProFormSelect 的rules 没有进行规则校验 HOT 1
- 使用BetaSchemaForm使用定义 columns valuetType 为cascader 时赋予fieldProps属性都会报错🐛[BUG] HOT 1
- 🐛[BUG] ProTable requests 会发送两次请求 HOT 2
- 🐛[BUG]:你们的网站每一个页面打开都是白屏,然后强制刷新下就好了,点其他页面也是一样的,nginx 没配置好? HOT 5
- 🐛[BUG]BetaSchemaForm中columns为formList时,title无法拿到formlist的index
- 🐛[BUG] ProTable查询表格 查询表单查询没有进行模糊筛选
- 🐛[BUG] Protable 设置 defaultColsNumber 时搜索控件被异常隐藏 HOT 1
- StepsForm 🧐[问题] HOT 2
- 🧐[问题]使用ProTable时浏览器控制台报错 HOT 1
- 🧐[问题] 打包后体积过大,如何优化呢? HOT 1
- 🧐[问题] 打包后体积过大,如何优化呢? HOT 2
- 🐛[BUG] BetaSchemaForm 在抽屉与弹窗布局,且为受控模式下,渲染不同步 HOT 1
- 🧐[问题] Not fill data edit when use tableRender
- 🐛[BUG]ProTable渲染时报Warning: findDOMNode ,点击右上角列设置时报Warning: A props object containing a "key" prop is being spread into JSX HOT 1
- 🧐[问题]在父组件EditableProTable的columns中嵌套了一个EditableProTable,子组件的EditableProTable无法设置name属性,导致我ModalForm的onFinish拿不到嵌套表格的数据 HOT 5
- 🧐[问题] HOT 1
- 🐛[BUG] HOT 1
- 🧐[问题]ProLayout菜单模式是side的时候,avatarProps、actionsRender如何渲染到右上角 HOT 2
- EditableTable 有value变化删除无法删除form里面的
- 🐛[BUG] 表单 readonly 模式下,输入超长英文单词没有自动换行,导致文本溢出
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pro-components.