Search
19011 results 661-670
Forum
- 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
- 9th Jun 2013How to create a drop down list from a JSON object array item - UpdatedIf you want the select list in the table, then yes, that looks like a good way of doing it to me, and probably what I would have suggested. Arrays might be slightly faster that string concatenation when building the string (and use join ) in older IE versions, and save you a line or two, but likely not a noticeable amount if the table is relative small. Allan
- 9th Apr 2013SOLVED - What is the best way to create a datatable for a table with dynamic structure?I was hiding the DIV that contained the datatable before manipulating it's structure and data. Once I stopped hiding the datatable, it worked well. Looks like datatable needs the table to be visible in the first place for proper redraw to work.
- 27th Nov 2012why is this trying to create a column called '0'?My fault - typo on data
- 30th Jul 2012Can't create a custom sorting functionSee, it's a testament to how ignorant of JS I am that it took me a good 15 minutes to figure what and where the console was. Turns out that there's two stupid syntax errors in the ?: statements (namely I actually have a '?' and a ':' right next to each other, without an expression between them). I then managed to work out the rest of the problems myself, thanks to the newfound console. :) Sorry to bother you with such trivialities, but at least it won't happen again. :P
- 3rd Jul 2012How to create only one filter for one column?hello megetron, i suppose you could use the column filter plugin by jovan popavic, there you can make all the adjustment on which rows need to be fileterd and which to be not. following is the link: http://jquery-datatables-column-filter.googlecode.com/svn/trunk/index.html Arjun
- 23rd May 2012How do you create a table with automatic column width sizingI should add that in my above example code I have listed "bAutoWidth" as being set to "treu". That is just a cut-and-paste error, in my code it is actually set to "true". Perhaps I should have added that I only want the table to be as wide as it "needs to be".
- 12th Apr 2012Scrolling datatables create unexpected behavior.Hi Allan, Thanks for the info, but I actually figured that out (my solution was using .eq(1)). Using a id is not easy for me because I have multiple datatables, accros tabs, that requere the same behavior. So it's a lot easier when I can just rever to the .datatable in the current tab.
- 26th Mar 2012take too much time to create Data Table objectYou are going to have to provide a while lot more information than that if we are to be able to offer any help whatsoever. See also: http://datatables.net/faqs#speed Allan