Search
10333 results 41-50
Manual
- Validation › Ready to use field validators › StringsDon't allow HTML tags url(cfg: ValidationOptions = null) - Validate as an URL address. values(values: array, cfg:
- Joins › Example › Client-sideselect' } ] }); new DataTable('#myTable', { ajax: { url: '/api/join', type: 'POST' }, columns:
- Events › Examples › Modifying fieldsrouter for the /api/staff URL (you don't need to
- Validation › Ready to use field validators › StringsDon't allow HTML tags url( ValidateOptions $cfg=null) - Validate as
- Validation - legacy › Ready to use field validators › Stringsmay not contain HTML' url - Validate as an URL
- Joins › Example › Client-sideselect' } ] }); new DataTable('#myTable', { ajax: { url: '../php/join.php', type: 'POST' }, columns:
- Validation › Ready to use field validators › StringsDon't allow HTML tags url(cfg: ValidationOptions = null) - Validate as an URL address. values(values: array, cfg:
- Joins › Example › Client-sideselect' } ] }); new DataTable('#myTable', { ajax: { url: '/api/join', type: 'POST' }, columns:
Blog
Forum
- 10th Jul 2019MVC: Calling ajax data with different url parameterthis as well: ajax: { url: '/CDRData/CRUDCDRDataAndFiles/', data: function ( d
- 8th Jul 2019How to open a new window with passed through data id, by clicking on a row, in {% url '...' %}?var ID = table.row(this).data().id window.open('{% url 'lagerverwaltung:article_outsourcing' ID %}', target='_self'); } ); Cheers,
- 3rd Jul 2019Order datatable by value in url partial or url parametertable based on the URL. If your columns are
- 10th Jun 2019How can I change the language url in runtime using angular 7?Hi @Marcusshaocong , It would be the same as the original initialisation - just with the URL path. You could even just add destroy as I mentioned above, so you wouldn't need to call destroy, something like this. Cheers, Colin
- 22nd May 2019How to pass a variable in the ajax urlHi @LaRichy , You can use ajax.url() to modify the URL, Cheers, Colin
- 17th Apr 2019Setting up i18n for plugins in the json file with the language urlIs there a language url equivalent for the datatables
- 8th Apr 2019load new URL ajax with variable paramCan you try data: { id: <script>document.write(id);</script>, This is how I do mine on php pages $(document).ready(function() { var table = $('#example').DataTable({ "ajax": { "url": "/data.php", "data": { "zone": "", "searchvalue": "", } }, serverSide: true,
- 2nd Apr 2019URL Validation Errorwe use for the URL validation has an option
- 16th Mar 2019select2 box with dynamic urlThe ajax url setting now accepts a function in the latest release.
- 1st Mar 2019Help with Custom Button -> pass selected column to a csv urlselected.any()) { $.ajax({ type: "POST", url: .... data: { contractId: selected.data().contract.id } }); } This