On my grid, I have a select, I choose one and it looks chaged, but when I call the function to get data of my grid, the value of my data that have to be changed by the selected option, is always with 0 value.
It only changes data of my grid when I click in another select.
Is there a way to select an option of my select and modify the value at the same time?
The methods that I tried to use were:
On my grid, I have a select, I choose one and it looks chaged, but when I call the function to get data of my grid, the value of my data that have to be changed by the selected option, is always with 0 value. It only changes data of my grid when I click in another select.
Is there a way to select an option of my select and modify the value at the same time? The methods that I tried to use were:
$('#grid').grid({ uiLibrary: 'bootstrap4', dataSource: '/Players/Get', columns: [ { field: 'Name', editor: true }, { field: 'CountryName', type: 'dropdown', editor: { dataSource: '/Locations/GetCountries', valueField: 'id' }, editField: 'CountryID' }, { field: 'DateOfBirth', type: 'date', editor: true }, { field: 'IsActive', title: 'Active?', type:'checkbox', editor: true, mode: 'editOnly', width: 80, align: 'center' } ] });
Thanks.