Search
43567 results 7291-7300
Forum
- 16th Mar 2013How to hide table when using tabs?edit -please delete-
- 6th Mar 2013Refresh Table Data and PaginationI have a form used for time tracking. We have a control at the top of the form to navigate from one week to the next or to the previous week. Because some weekly entries can be quite long, I am using pagination. However, if I want to navigate to another week, I have to first move to the last page of entries. Otherwise, the data does not refresh. Any suggestions?
- 1st Mar 2013Table row definitionSo I have the following code which works: [code] var a = $("#sample_1").dataTable().fnAddData( [ domEle['AGENCY_NAME'], domEle['ADVERTISER_NAME'], domEle['CAMPAIGN_NAME'], domEle['STRATEGY_NAME'], domEle['IMPRESSIONS'], domEle['CLICKS'], domEle['PC_CONVERSIONS'], domEle['PV_CONVERSIONS'], domEle['ADJ_PV_CONVERSIONS'], domEle['eCPM'], domEle['eCPA'], domEle['eCPC'], domEle['MEDIA_COST'], domEle['TOTAL_SPEND'], ]); [/code] However I want to display the columns in the order which is returned in AJAX so I want to change it to this: [code] var a = $("#sample_1").dataTable().fnAddData( [ $.each(data['columns_order'], function(key, value){ domEle[data['columns_order'][key]['fieldy']], }); ]); [/code] But I keep getting the following error "Uncaught SyntaxError: Unexpected token ) ", can anyone help? Cheers
- 26th Feb 2013Table Tools mColumns orderHi mColumns option allows us to specify the columns that we have to export as an array of integers. but is there an option that also allows us to specify the order in which the columns must appear in the exported csv ? For eg if I specify mColumns as [2,1,0] then I would like my 3rd column to appear first,2nd columns to appear 2nd and 1st column to appear third.
- 19th Feb 2013ColVis - New Feature: multiple dropdown columns for long lists of table columnsHi, I have extended the "ColVis" plugin with a new feature that I called "iMaxRows". It will ensure that the number of rows in the dropdown list created by the "ColVis" button will not exceed the maximum limit defined by "iMaxRows". This is particularely helpful when dealing with tables that have a large number of columns, as it prevents the dropdown list from becoming way too high to be nice and useful. Since I was a bit at a loss how to provide you with the modified "ColVis.js" I decided to paste it into the "DataTables live" feature. You should be able to view my updated "ColVis.js" code and a working live demo here: http://live.datatables.net/ipoduq/3/edit (Click on "Render" to see the live demo, then modifiy the value of "iMaxRows" in the "Code" to see how it effects the live demo) I'm keeping my fingers crossed that the above "DataTables live" thingy works out for everyone :-) Otherwise please inform me how else to provide the file. Some notes on my coding: * the "iMaxRows" option does NOT enfore the given number of rows, it just uses the value as a limit, the buttons for the columns will simply flow into the extra columns and quite often you end up with 1 row less than what "iMaxRows" specifies * the "[STWI]" markers exist only to make searching for my changes easier, feel free to remove them Regards, Stephan
- 15th Feb 2013Clear table column dataHi, I am using editable datatable where i have a clear button. On click of this clear button i need to clear the data entered in a particular column (say 4th). How do i do it? Thanks Ajay
- 13th Feb 2013In need of a custom pagination table pluginHi, I am looking for help to develop a custom pagination plugin that looks something like this. First Prev 1 2 3 .... 33 34 Next Last [When on Page 1] First Prev 1 2 .....15 16 17.... 33 34 Next Last [When on Page 16] Can someone let me know if someone has implemented something similar to this?
- 8th Jan 2013IE 8 duplicate tablehttp://imgur.com/g6dSM - screenshot If you click the search button first time, that appears. If you click search a second time, it looks fine. Anybody seen this before? It only happens on IE8 or lower. There are no script errors.
- 5th Jan 2013Replacing table column with imagesIn the database I'm reading from, I have a "status" column. Essentially it is storing a, open and closed option for a row. I have an image I want to use for the open status and for the closed status. Right now open = 1 in the database and closed = 2. I'm using a slightly modified version of the server scripting for php (http://datatables.net/development/server-side/php_mysql) I'm wondering how I would incorporate such a change when I'm using code like the above link shows. And the way you explain to me how to do this; would it affect searching in anyway? Because I will have another column that is item names, and in the column it actually displays the items image. Would the searching of the item be affected then?
- 7th Dec 2012Table tools creation with searchDear Sir, I am a Mechanical engineer with zero programming knowledge, can anyone suggest me how to have this done like this page for my data http://datatables.net/extras/tabletools/ I want filtered results to be made with search option dialog box . Data: http://jsfiddle.net/prabuk1985/rCChX/embedded/result/ http://jsfiddle.net/prabuk1985/rCChX/ Regards, prabu