I WOULD LIKE TO KNOW HOW TO GET THE IDUnidadMeasure AFTER I HAVE SELECTED A ROW IN MY DATATABLE. TH
I WOULD LIKE TO KNOW HOW TO GET THE IDUnidadMeasure AFTER I HAVE SELECTED A ROW IN MY DATATABLE. TH
lesterdiaz17
Posts: 2Questions: 2Answers: 0
var dataTable;
$(document).ready(function () {
dataTable = $("#UMTable").DataTable({
"ajax": {
"url": "/MeasuredUnits/GetMeasured",
"type": "GET",
"datatype": "json"
},
"columns": [
{
"data": "IDUnidadMedida",
"className": "text-center",
},
{
"data": "Descripcion",
"className": "text-center text-uppercase"
}
],
"select": {
"style": 'single'
}
});
dataTable.ajax.reload();
});
This discussion has been closed.
Answers
I posted an answer in your duplicate post here:
https://datatables.net/forums/discussion/49816/help-me#latest
Kevin