Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function cargarData() {
- var datos = {};
- datos.desde = desde.option('value');
- datos.hasta = hasta.option('value');
- $.ajax({
- url: rutaApi + "visita/" + desde,
- method: "GET",
- data: JSON.stringify(datos),
- contentType: "application/json",
- success: function (data) {
- debugger;
- if (!data.error) {
- $("#grdConsultas").dxDataGrid({
- dataSource: data,
- "export": {
- enabled: true,
- fileName: "Visitas",
- allowExportSelectedData: true,
- }
- });
- }
- }
- });
- }
- </script>
- url: rutaApi + "visita/" + desde,
Add Comment
Please, Sign In to add comment