Search
19065 results 551-560
Forum
- 12th Mar 2021Use of whole row + inline createThanks Allan! I will try to run direct on my server.
- 21st Feb 2021Resize panel and input fields for create & editoh, that´s great. Very good idea :-)
- 13th Feb 2021how to create JSON data format for the file upload functionality?There isn’t a JSON data format that Editor uses for the file upload - as you note it sends it as a multi-part form via Ajax. The full information for the client / server upload interchange is available here. Generally multi-part form is much easier to work with on the server-side for file upload than JSON (and likewise the client-side). Are you using a library on the server-side that is having problems with the upload? Allan
- 1st Feb 2021How would you create a custom access method to edit files?Good question - yes it is possible, but it requires a little thinking outside the box. Probably the most technically correct (but not easiest) way is to use a standalone Editor which gets populated with values when you select an item from the dropdown. An easier solution, might be to have a hidden DataTable which contains all of the data that can be edited, and as you select an item in the dropdown list, it would trigger editing on that row. That said, this method wouldn't be all that different from using DataTables / Editor as normal - the only difference if that you'd be selecting the item to edit from a <li> list rather than a DataTable. Allan
- 10th Nov 2020Excel Export create multiple sheetsUPDATE for people who have to export big tables (where the number of columns are bigger than 24) You have to change : mergeCol = ((header.length - 1) + 10).toString(36).toUpperCase(); mergeCells = ''+'' + ''; in the function getTableData(table, title) Because it doesnt manage the column looking like : 'AA1' (instead the value is something like '1A1', Excel doesn"t know how to interpret it so you have a message like : "We found a problem with some content in "filename.xlsx" Do you want us to try to recover as much as we can?" at the opening so remplace the line by something like that : mergeCol = "B1"; mergeCells = ''+'' + '';
- 1st Nov 2020Ability to create an overlay over entire table while ajax processing is in progress.Looks like you can define the element that [Busy Load)(https://piccard21.github.io/busy-load/) applies to. You can use the preXHR event to show the loader and xhr to hide it. You can apply it to any element list the table tag. Or if you want to overlay the Datatable elements like search and paging you can apply it to the wrapper div which has the id of example_wrapper where example is the id of your table. See this example: http://live.datatables.net/lufuraji/1/edit Kevin
- 29th Oct 2020How can I create a condition in the ajax or controllerand I need that if it comes true it will be shown and if it comes false it will not. What would you expect to be shown in that column of the table if it is false? It would be worth looking at columns.render as that might get you moving in the right direction, Colin
- 25th Oct 2020How to create dynamic columns and trouble fixedColumnsIf you want to be able to define the columns by the Ajax loaded data, you need to get the column information first and then load the DataTable. This FAQ covers that. Allan
- 20th Oct 2020Does anyone know how to create columns dynamically and include a render function in the array?Solved :hushed:
- 21st Sep 2020Modal keeps loading after create, edit or delete bootstrap 4Duplicate of this thread - please don't repeat posts. Colin