Fill select field from sql server database
Fill select field from sql server database
ricardo.padilla@xpack.com.mx
Posts: 2Questions: 2Answers: 0
I want to fill this field with the id value Customer (idCSR) and Customer fields (CSR),I will appreciate your help.
$(document).ready(function() {
editor = new $.fn.dataTable.Editor( {
ajax: "/api/ForeCast",
table: "#tblForeCast",
fields: [
{
"label": "csr:",
"name": "csr",
"type": "select",
"options": [
"MARTHA MARTINEZ",
"LILIANA SERRANO",
"ELENA SAGAHON",
"ERIKA CERVANTES"
]
}
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
Answers
This thread should help, it's asking the same thing.
Cheers,
Colin