@fabriceb
@fabriceb
Forum Replies Created
-
AuthorPosts
-
fabriceb
Participantif 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.
fabriceb
ParticipantHere is the soluce : just change this css variable : –smart-card-view-column-min-width
I do it directly in js after init of the cardview :
<div>$(“#myCard”).css(“–smart-card-view-column-min-width”, “600px”);</div>
<div></div>
<div>fabriceb</div>December 5, 2023 at 1:13 pm in reply to: Pie charts : I don’t succed in using addColorScheme #109251fabriceb
ParticipantHi I reply to myself, after using the Chat with Peter (Thanx Peter 😉 )…
The problem was just that the component was not already loaded.
in the codepen, I just have to add addColorScheme in window.onload :
window.onload = () => {
oChart3.addColorScheme(‘custom’, aCustomColors);
oChart3.colorScheme = ‘custom’;
}On my project, I was using the code in document.ready() : and it didn’t work.
I replaced document.ready() with window.onload = (), and it works fine now.
fabriceb
fabriceb
Participantissue resolved in last version, thanx !!
fabriceb
Participantissue resolved in last version, thanx !!
-
AuthorPosts