While working with dropdownlist in syncfusion i am not getting values in dropdownlist kindly suggest solution.
|
[component.html]
<ejs-dropdownlist id="games" #sample formControlName="skillname" name="skillname" [dataSource]="sportsData"
[value]="value" [fields]="fields" [placeholder]="waterMark" [popupHeight]="height"></ejs-dropdownlist>
[component.ts]
// define the JSON of data
public sportsData: Object[] = [
{ Id: 'Game1', Game: 'American Football' },
{ Id: 'Game2', Game: 'Badminton' },
{ Id: 'Game3', Game: 'Basketball' },
{ Id: 'Game4', Game: 'Cricket' },
{ Id: 'Game5', Game: 'Football' },
{ Id: 'Game6', Game: 'Golf' },
{ Id: 'Game7', Game: 'Hockey' },
{ Id: 'Game8', Game: 'Rugby' },
{ Id: 'Game9', Game: 'Snooker' },
{ Id: 'Game10', Game: 'Tennis' },
];
// maps the appropriate column to fields property
public fields: Object = {
text: 'Game',
value: 'Id',
};
|
Thanks for the reply.
Maruko,
We are glad to know that the issue is resolved on your end. Please get back to us if you need further assistance on this.
Regards,
Sureshkumar P
I am searching for the sample for this code and thanks to you for sharing them with us. When I was looking for the sample online, I have found the https://easyreadernews.com/gambling-in-japanese-anime/ website link in which I have found an article on gambling in Japanese anime and I don't know about this before. I am a college student and I am making a project. For that I need help.
Hi Maruko,
We are unclear regarding your requirements. Please explain the steps/replication procedure in detail to get a better understanding.
Regards,
Sureshkumar P