- Home
- Forum
- ASP.NET Core - EJ 2
- Header field in card does not refresh when updated
Header field in card does not refresh when updated
Good day
One of your Kanban examples shows
<e-kanban-cardsettings headerField="Id" contentField="Summary" ></e-kanban-cardsettings>
where the header field is the record key so it would not be modified.
I created a Kanban with
<e-kanban-cardsettings headerField="Title" grabberField="Colour" contentField="Summary"></e-kanban-cardsettings>
with a header field of Title which I modify in the dialog and I have an Id field created in the database but I am observing unexpected behaviour. If I change the content field the card updates and refreshes as expected. If I change the header field the card updates but does not refresh so I still see the previous value.
I am also using Tooltip
<ejs-kanban id="Kanban" keyField="Status" dialogOpen="onDialogOpen" enableTooltip="true" tooltipTemplate="#tooltipTemp" created="onKanbanCreated" actionComplete="onActionComplete">
hovering over the card on updating the header field displays
VM44:3 Uncaught TypeError: Cannot read property 'Title' of undefined
at Object.eval (eval at A (constants.js:93), <anonymous>:3:204)
at constants.js:93
at e.onBeforeRender (constants.js:93)
at e.notify (constants.js:93)
at t.e.trigger (constants.js:93)
at t.showTooltip (constants.js:93)
at t.targetHover (constants.js:93)
Is this expected behaviour? Is the header field not supposed to be modified within the Kanban control?
Thank you
Ronald
SIGN IN To post a reply.
3 Replies
1 reply marked as answer
RK
Revanth Krishnan
Syncfusion Team
March 22, 2021 12:18 PM UTC
Hi Ronald,
Greetings from Syncfusion support.
We have validated your query “Header field in the card does not refresh when updated. Is this expected behavior? Is the header field not supposed to be modified within the Kanban control? ”
Yes, this is the default behavior in the Kanban, where the header field cannot be modified in the Kanban component.
Please let us know if you need any further assistance.
Regards,
Revanth
Marked as answer
RW
Ronald Walcott
March 22, 2021 04:42 PM UTC
Thanks.
Please add it to the documentation so that other people will know.
RK
Revanth Krishnan
Syncfusion Team
March 23, 2021 09:01 AM UTC
Hi Ronald,
Thanks for the update.
We will update the documentation and let you know once we publish the documentation live.
Regards,
Revanth
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
- Marked answer
-
RW Ronald Walcott
- Mar 19, 2021 10:38 PM UTC
- Mar 23, 2021 09:01 AM UTC