You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is requried to put a shortcut link besides emptyText to create a new record in a lot of scenarios. The table component in rc-table support this feature which is restricted to only support strings in ant-design. If you could add this feature, it will make the component more flexable.
What does the proposed API look like?
<Table emptyText={()=>{
return 'no data';
}}
/>
<Table emptyText={()=>{
return <div><span>No data</span><a href="">Create a new record</a></div>
}}
/>
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
It is requried to put a shortcut link besides emptyText to create a new record in a lot of scenarios. The table component in rc-table support this feature which is restricted to only support strings in ant-design. If you could add this feature, it will make the component more flexable.
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: