question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ant-design Virtual Table Does not support render prop

See original GitHub issue
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

support render prop

What does the proposed API look like?

render: (text: any, record: any, index: any) => do something},

Need Reproduce

https://codesandbox.io/s/xu-ni-lie-biao-antd-4-17-1-forked-0wn04?file=/index.js

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
DVSoftwarecommented, Nov 26, 2021

@Chasen-Zhang Ant does not support virtualized table out of the box, this is just an example how you can override the components to achieve that. You will need to implement that yourself on line 78 (call render if it exists).

0reactions
Chasen-Zhangcommented, Nov 29, 2021

@DVSoftware Does it support fixed columns? Are all ant-design properties supported ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Table - Ant Design
Table cell supports colSpan and rowSpan that set in render return object. When each of them is set to 0 , the cell...
Read more >
Ant Design - Implement filter in Virtual table ant desgin
When I apply a filter on column config but not working. Does anyone have some solution to that? Thanks for reading this. reactjs...
Read more >
Accessibility - React
Web accessibility (also referred to as a11y) is the design and creation of websites ... React fully supports building accessible websites, often by...
Read more >
Virtualize large lists with react-window - web.dev
react-window is a library that allows large lists to be rendered ... Do not assign height and width properties to the list or...
Read more >
An Introduction to Ant Tables for JavaScript Developers
An Ant table is one of the major components in the Ant Design system. ... Ant tables support single-column and multi-column row sorting....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found