Search
19118 results 15151-15160
Forum
- 8th Nov 2018Setting cell class depending on dataYou can use columns.createdCell or createdRow or `-option rowCallback1 depending on your exact needs. Kevin
- 6th Nov 2018Column color when reload ajax@kevin Thanks!!! I used this code! Maybe someone else will come in handy. live.datatables.net/yiceculu/1/edit "columnDefs": [{ "targets": 2, "createdCell": function (td, cellData, rowData, row, col) { if (cellData == "Так") { $(td).css('background-color', '#ff9797').css('color', '#ffffff'); } } }]
- 5th Nov 2018Facing the issue in edit fields is not updating?Hi @ colin , I created a test case regarding
- 5th Nov 2018Fixed table Row select inverses the '.selected' valueHi @"narendran.kandan" , The problem is likely because FixedColumns creates an overlay to get the desired effect. I would recommend using the Select extension, since this is all catered for - see here. Cheers, Colin
- 2nd Nov 2018Search and sort simultaneouslyin ascending order w.r.t created by date column. Let
- 31st Oct 2018How to add rows and column from jsonload into Datatables. It creates an array of arrays.
- 31st Oct 2018How to apply styling to a column value based on another column value?You could use rowCallback, createdRow or columns.createdCell. Here is an example: http://live.datatables.net/sonirusa/1/edit Kevin
- 31st Oct 2018Add id parameter to select rows in the datatableserver-side script, when it creates that second table, will
- 31st Oct 2018Is it possible to apply css or bootstrap buttons to an unknown column using jquery functions?you linked to I created this example that uses
- 29th Oct 2018dinamic order attribute for sortingHi @kirillos , You can use createdRow or row().node() to manipulate the row and add the ID. See an example here. Cheers, Colin