Search
11331 results 2051-2060
Forum
- 19th Aug 2017How to order and filter asyncwhile it's doing it's filtering. So the way i
- 30th Jun 2017Filter and bind the data to the DatatableHello all, I am binding the Large unsorted object data to datatable. My code is below: var ExpenceDataTableElement = $('#ExpenceDataTable').DataTable({ data: Data, pageLength: 10, "bSort": false, "autoWidth": false, columns: [{ "className":"clsAction", "data": "TimesheetUID", "title": "Action", "render": (data, type, row) => '', "width": "4%", "visible":true }, { "className":"clsPeriodName", "data": "PeriodName", "title": "Timesheet Name", "visible":true }, { "className":"clsTSPeriodStatus", "data": "Open", "title": "Timesheet Period Status", "render":function(data,type,row){ if(data == 1){return " Open"}else{return " close"}}, "width": "10%", "visible":true } ], "oLanguage": { "sEmptyTable": "No Records found." } }); The data contains more than 15 thousands of records, it contains the flag like 'Open' OR 'Close'. Currently I am using the for loop to sort the data and bind it to the data - table. Means if data have 15 thousand of records and it contains 7 thousands of 'Open' flag records, it takes long time to sort & bind the data to Datatable. Hence Is there any way to check the condition in 'columns:' if flag is not 'Open' then continue to the next iteration??
- 27th Jun 2017Filter when users selects empty and some valuei am using column filters. I have created my
- 18th Jun 2017Decimal column filtering and column name filter problemstextbox there is no filtering and datatables shows all
- 3rd May 2017Search filter select not working for arrayHi, First of all, thanks for your help in advance and datatable is great. I have question about the following code: if (idx === 3) { dt.column(3, { search: 'applied' }) .data(toString) .unique() .sort() .each(function (d, j) { { if (renderFunction == null) { select.append('' + d + ''); } else { select .append('' + renderFunction(d, 'display', null) + ''); } } }); } The issue is the column.data is actually a list of string from view model. In this case, it is an array, and from other posts I know unique does not work for arrays. I tried to use tostring to convert the data before calling unique, but it's not working. I can't really figure this out. Could anyone help on that? Thanks!
- 25th Apr 2017DataTables-Find data in a table, but do not filter on the server sideI want to load the data on the server side (server side) but when looking for any content I do not want to be server side with sql queries for example: Quiero cargar los datos del lado del servidor (server side) pero a la hora de buscar cualquier contenido no quiero que se haga del lado del servidor con consultas sql por ejemplo: if( !empty($params['search']['value']) ) { $where .=" WHERE ( nombre LIKE '%".$params['search']['value']."%' )"; $where .=" OR employee_salary LIKE '".$params['search']['value']."%' "; $where .=" OR employee_age LIKE '".$params['search']['value']."%' )"; } Is there any way to do this?
- 21st Apr 2017Column filter SearchHighlightI used this https://datatables.net/blog/2014-10-22#Released-code to add highlighting to my datatable and it works great using the main search input, but my datatable also use column search/filter. How can I get the highlighting to also work with the column search input.
- 11th Apr 2017Header column filter feature out of the boxHi, while programming simple variants yourself is not a too big thing, it leads to code dependencies, testing, covering different use cases and so on. it would be very nice to have that built in for simpler cases like , input field with datatype format, select box, with row values (like excel), or set datasource , date widget, and so on. Planning for that ? Thanks for informing, Michael
- 25th Jan 2017Angular - select filter, not showing correctlyAnd set .withColumnFilter for filtering tables. .withColumnFilter({ aoColumns: [ null,
- 21st Jan 2017Not able to filter search automaticallyI need to implement functionality to update searchable property value dynamically. I am able to set option dynamically, it is setting but search is not updating. dtObj.settings()[0].aoColumns[0].bSearchable = true; By default, Let take column 1 is searchable. I am changing its searchable to false. It is not updating. I mean datatable based on this search update it is not working. To apply this search changes, I need to clear datatable, and rebind whole data. Then only it is working. Is there any other option to make it work with our clearing of data.