Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Nulltext is not displaying
posted

Hi ,

I want to display null text as default  but it is showing 'select ...' . I have added nulltext as "" but is not working.

Could you please help me . Issue sample :  http://jsfiddle.net/axxc6zLz/

$(function () {

var data = [{
"ID": 1,
"Name": "John Smith",
"Age": 45
}, {
"ID": 2,
"Name": "Mary Johnson",
"Age": 32
}, {
"ID": 3,
"Name": "Bob Ferguson",
"Age": 27
}];

$("#combo").igCombo({
dataSource: data, //JSON Array defined above
valueKey: "ID",
textKey: "Name",
enableClearButton: true,
nullText: "sdcfds ",
selectionChanged: function (evt, ui) {
if (!ui.items) {
ui.owner.selectedIndex(-1);
}
}
});
});

Parents
No Data
Reply Children
No Data