JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Card View › How to refresh cards without creating new adapters ? › Reply To: How to refresh cards without creating new adapters ?
March 6, 2024 at 8:38 pm
#109932
fabriceb
Participant
if you mean that in my example, I could just use :
newArray = [];
(// create new array)
oMyCardView.dataSource = newArray;
==> it doesn’t work, you lose the description of the datafields, and some fields juste explode………
see my example :
https://codepen.io/mogador/pen/GRLJGXW
if you click on 2nd button, some fields are unusable : text is transformed to data object.