Search
18961 results 651-660
Forum
- 30th May 2014How to create row shading based on column ValueActually found it.. this solved my problem http://stackoverflow.com/questions/16353455/how-to-set-color-for-table-rows-based-on-column-value-in-jquery-data-table Just need to pick the correct array object
- 29th May 2014How to create individual column filters using data tables & aocolumn?for this, http://datatables.net/examples/api/multi_filter_select.html and http://datatables.net/examples/api/multi_filter.html. Yes I have already tried above examples but problem in the above examples it either encourages completely select or dropdown but not combo box...I am looking for that solution. In regards to, http://yadcf-showcase.appspot.com/ I have already tried but it even have lot a problems :(.
- 15th May 2014How to create a link in one column data item that leads to dounload link put in other column's dataI solved my question, no body cared to answer though !! thanks for all who tried to help... I'm using Ver. 1.9.4 and here is my datatable definition for the claimed case: $('#example').dataTable( { "aaData": aDataSet, "aoColumnDefs": [{ "bVisible": false, "aTargets": [1] } ], "aoColumns": [ { "sTitle": "Title"}, { "sTitle": "File","sWidth":"300px",}, { "sTitle": "Doc Type","sWidth":"60px","sClass": "center"}, { "sTitle": "Publisher" ,"sWidth":"70px","sClass": "center"}, { "sTitle": "Year","sWidth":"30px","sClass": "center"}, { "sTitle": "Pages","sWidth":"30px","sClass": "center"}, { "sTitle": "Format", "sClass": "center", "sWidth":"30px", "fnRender": function(obj) { var sReturn = obj.aData[1]; return "<a href='files/"+sReturn+"' target='_Blank'>"+ obj.aData[6]+"</a>"; } } ] } ); So that the rendered content in the last column will hold the link to the file name stored in the hidden second column. Thanks for all
- 4th Apr 2014Create a master-detail tableThere are only 2 rows in the first table with reference to the second table. The first and the third row are there.
- 10th Mar 2014Create links calling JS methods in a table cell (undefined method error)Well, I'm responding my own question for the reference of whoever might encounter him-/herself in a similar situation: The "external" function should be defined outside the $(document).ready(function(){}); block, then everything will be working as expected: [code] < script> function selectClient(a){ alert(a); } $(document).ready(function(){ $("#search-user-form").submit(function(e){ ... [/code]
- 7th Feb 2014How to create datatable "two_button" pagination with custom Previous and Next images?Oops - yes. Good point :-) Allan
- 12th Dec 2013Create custom cell content using callbackYup - not disagreeing with you at all! The new API in DataTables 1.10 will accept jQuery objects as well :-). In fact, the new API is massively better than the on fn* methods... (imho of course!) Allan
- 9th Dec 2013trying to create a plugin that would let you re-size columns and carousel horizontal scrollingso should i not work with sWidth at all ?
- 11th Oct 2013On Create Default Column filter AJAX CallThat's all I want!!! I couldn't find that option, thank you!
- 28th Jun 2013Dynamically create table headers and contentvar headers = ["sTitle : FSNe", "sTitle : Project Name", "sTitle : Description", "sTitle : PrjTrk #", "sTitle : SAP #"] ; You've got an array of strings there. You want an array of objects like in the documentation ( http://datatables.net/ref#sTitle ): [code] [ { sTitle: "FSNe" }, { sTitle: "Project Name" }, ... ] [/code] Allan