Search
19011 results 621-630
Forum
- 11th Jan 2017On the create button popup, how do you access input values to load a readonly field?The val() method is the key one here. Use that to both get and set values for fields. You could also use field().get() and field().set() if you want to be more explicit. Allan
- 24th Nov 2016create an ajax json object from a simple indexed arraysorted it. i created a new array, looping
- 7th Nov 2016How to send a ajax request as same as for create, edit and delete when custom button is clickedYou would need to use an action option as a function (buttons.buttons.action) and have it call edit() to edit the selected row. Then use field().val() to set the value and submit() to submit the form. Apply a condition to the server-side code so that if the update happens, the row is excluded from the data set. Allan
- 14th Sep 2016How to Create Sorting with Date Based on Year, Month, DateI have time coming from model 12 JAN 2009 00:00:00 15 APR 2011 00:00:00 25 JUL 2011 00:00:00 12 JAN 2009 00:00:00 29 MAR 2012 00:00:00 28 NOV 2008 00:00:00 02 DEC 2012 00:00:00 06 AUG 2012 00:00:00
- 1st Sep 2016Filter and remove duplicates contents of Dropdown list in create newFor complex queries that looks about as good as it gets :-) Allan
- 15th Aug 2016Create, modify, delete button goneProblem solved. Sorry, plz close.
- 11th Aug 2016excelHtml5 button not showing, but csvHtml5 is showing and create a csv fileThat is something that should be resolved with the Buttons 1.2.2 release. My guess is that you are using 1.2.0 or 1.2.1. Allan
- 8th Aug 2016Create Json string From datatable selected Selected rowThank u allan.. You are Just amazing..
- 8th Aug 2016Create Json from selected row data of JsonThanks.. This is what i want
- 9th Jun 2016Dynamically Create Bootstrap Accordion in a CellIt turns out, it's quite easy to do. I associated a render function with the column (see the columns.render property). When the function is called I do something similar to this: function(data, type, row, meta) { var cusip = row["CUSIP"]; var generatedNodeText = "<a data-toggle='collapse' data-target='#" + cusip + "'>" + data.length + " Documents</a>"; generatedNodeText += "<div id='" + cusip + "' class='collapse'>"; // Generate the anchors in the accordion. // You will generate whatever content is specific to your situation. for (var i in data) { // iterate over the objects in the XBRL array generatedNodeText += "<a href='" + data[i].URL + "'>" + data[i].Text + "</a><br />"; } generatedNodeText += "</div>"; return generatedNodeText; }