Search
43674 results 6801-6810
Forum
- 2nd Feb 2017Paged table and additional getJSON calls on visible rows onlyAre you saying you no longer have a question?
- 1st Feb 2017Editor displays Under Table instead of in the pop-up windowThe issue was in fact a missing css file. The issue has been resolved.
- 31st Jan 2017Table Borders export excelthanks for quick answer allan, but when i export example to excel doesnt show the blue background. Preparing test-case..
- 27th Jan 2017how can i remove records from database and insert into new table of same database on click of submitI have no idea what your question is! I can see the title of your post, but I don't know what software you are using (i.e. are you using Editor, or something else)? Allan
- 17th Jan 2017Join table exampleI see that for the data, you discarded the values of data.options and data.files. Does that mean I can't use the data if I need to keep those values for Editor?
- 6th Jan 2017How to force a page refresh upon adding a new row to an Editor table?That works! Thanks Allan.
- 27th Dec 2016TD scroll not working on table with server side processing?Never mind I got this working by editing my modified version of the ssp.class.php file so that the data_output function now looks like this: static function data_output($columns,$data) { print_r($data); $DateFields = include 'DateFields.php'; $out = array(); for($i=0,$ien=count($data);$i<$ien;$i++) { $row = array(); for($j=0,$jen=count($columns);$j<$jen;$j++) { $column = $columns[$j]; if(isset($column['Formatter'])) { echo "Formatter<br>"; $row[$column['dt']] = $column['Formatter']($data[$i][$column['db']],$data[$i]); } else { //This is were I added the <div> around the values to allow the scrolling to work in all browsers. $row[$column['dt']] = "<div class='Scrollable'>" .$data[$i][$columns[$j]['db']]. "</div>"; if(in_array($column['db'],$DateFields,TRUE) && $row[$column['dt']] != '') { $row[$column['dt']] = substr($data[$i][$columns[$j]['db']],5,2) . "/" . substr($data[$i][$columns[$j]['db']],8,2) . "/" . substr($data[$i][$columns[$j]['db']],2,2); } } } $out[] = $row; } return $out; } I had to add a div inside the individual td so that the scroll would work.
- 16th Dec 2016Flex data table rows that are displayed based on window resolutionHi, Not based on screen resolution as such, but rather by browser window height, yes. I wrote a blog post a while ago introducing a plug-in that will do this with scrolling enabled. Since then I've also written one that will work with paging enabled but haven't written it up on the blog yet. There is an example in the repo showing how it works. Regards, Allan
- 25th Nov 2016Remove a row the table without asking the user for confirmationeditor.remove(table.row(i), false).submit(); Try using table.row(i).index(). In this example if I run: var rowIdx = $('#example').DataTable().row(':eq(0)').index(); editor.remove(rowIdx, false).submit(); It deletes the first row without confirmation. Allan
- 24th Nov 2016bootstrap select not running over table borderIt isn't currently possible in the forum to make your own questions as the answer (something I need to correct). I've done it for you. Allan