You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, is there a way to define the structure of the table with code in order to bind it with a JSON array, I mean like with the DataTable widget, discarding the use of jQuery of course, I like the fact that your widget does not require additional frameworks or CSS:
Hello, is there a way to define the structure of the table with code in order to bind it with a JSON array, I mean like with the DataTable widget, discarding the use of jQuery of course, I like the fact that your widget does not require additional frameworks or CSS:
$('#datagrid').DataTable( {
data: DataSet,
columns: [
{ title: "ID", data: "customerid" },
{ title: "Compañia", data: "companyname" },
{ title: "Contacto", data: "contactname" },
{ title: "Teléfono", data: "phone" },
{ title: "País", data: "country" }
]
} );
The HTML would be like this:
Thank you,
Martin
The text was updated successfully, but these errors were encountered: