-1
I need to create a combo box using a maximum and minimum amount for each row of my table based on a stock quantity record.
But I have no idea where to start.
Today my code is like this:
function _row(r) {
var tr = document.createElement('tr')
tr.innerHTML = '<td class="' + r.flag.toLowerCase() + '">' + r.flag + '</td>' +
'<td>' + r.filialCode + '</td>' +
'<td class="truncate">' + r.filialName + '</td>' +
'<td>' + r.address + '</td>' +
'<td>' + r.phoneNumber + '</td>' +
'<td>' + r.distance + '</td>' +
'<td>' + r.stock + '</td>' +
return tr
}