Search
43745 results 6731-6740
Forum
- 14th May 2018Unable to add button and variable value to data table using REST APIWithout a test case its a bit confusing to understand what you are trying to do. https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case I put together this example which may help: http://live.datatables.net/legusoha/1/edit It uses columns.render to display the button. It uses the meta parameter to get the row ID which is used to give each button its own ID. I have an event handler which prints on the console the Button's ID. Kevin
- 4th May 2018Cannot display table dataI just took a look, but I'm seeing multiple DataTables, all loaded, and all with data. What makes you think they're not being created?
- 3rd May 2018DataTables warning: table id=tab_showHosts - JSON encoding error: Malformed UTF-8 characters, ...Ooo - I think you are going to run into a whole lot of problems if your primary key is a binary value and you are using the Editor PHP libraries. It assumes on a fairly fundamental level that the primary key will always be a constant value from the database through to the web page and Javascript. Converting it isn't something that the libraries are set up for I'm afraid. Can you change your primary key to be an int? Allan
- 24th Apr 2018Display data to server side table dynamically.Hi @inquisitive_stha , Take a look at this example here - it's also retrieving objects. Cheers, Colin
- 23rd Apr 2018How to post all table data to MVC controllerAllan, Thank you for your input. We have resolved our issue with the following workaround: Javascript $('#btnSave').click(function () { var oTable = $('#tableTreatyMilestones').DataTable(); oTable.page.len(200).draw(); }); HTML
- 20th Apr 2018How to Print Child Rows Along with the main table?Can you post a link to a page so we can help debug? Kevin
- 20th Apr 2018How to Increase the width of html drop-down which are in Jquery Data tableI don't really understand this: #example #hello select{ width:250px; } So the select inside #hello should have width:250px, but I don't see an id element. I don't really understand what the code where an id attribute of id is doing or where it should be added. Allan
- 12th Apr 2018Show Hide rows in table in loopHi @bagsiur , You can't hide and show rows like that. They can be removed with row().remove() and then added back in with row.add(). If you want the ability for them to be hidden/shown, you'll have to create a custom filter to remove the records. Cheers, Colin
- 12th Apr 2018Child Row Info Fetched by Ajax from Other TableAbsolutely. Typically for that kind of thing I've seen a column with a "Details" link or button which when clicked will launch a popover. Allan
- 28th Mar 2018DataTables warning: table id=dataTable - Requested unknown parameter '0' for row 0, column 0. For moThanks for posting back. Good to hear you've got it working now. Allan