Editable table in line loading icon #1332
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello Thomas, If I understood correctly, you're using the inline editing functionality of our Table component. For this, you should be using the Furthermore, you should be using the You can get some inspiration from our implementation in our "[Table with inline edit]"(https://cloudscape.design/examples/react/table-editable.html) demo source code. Let me know if that helped. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Thanks ruben, you are right I added a |
Beta Was this translation helpful? Give feedback.
Hello Thomas,
If I understood correctly, you're using the inline editing functionality of our Table component.
For this, you should be using the
submitEdit
property which specifies a function that will be called after the user submits an inline edit. It should return a promise to keep the loading state while the submit request is in progress. You can see more on our API tab for the Table component.Furthermore, you should be using the
editConfig
property on the respectivecolumnDefinition
. There, you can define theeditingCell
function, which determines the display of a cell's content when inline editing is active on a cell. You receive the current table rowitem
and acellContext
object …