Posts by usersantos • 765 points
55 posts
-
1
votes1
answer101
viewsA: PDO with BIT type
If you can query in mysql just pass the querys create a table. something of the kind /* will give you a field that is null in the table SELECT ISNULL(CAST(TEMP AS BIT),0) AS STATUS then in Where…
-
1
votes1
answer495
viewsA: export datatable to pdf, excel
solved "dom": 'T<"clear">lfrtip', "tableTools": { "aButtons": [ { "sExtends": "collection", "sButtonText": "Exportar", "aButtons": ["csv", "xls", "pdf", "print"], // TODO: Get this working.…
answered usersantos 765 -
0
votes1
answer495
viewsQ: export datatable to pdf, excel
I’m trying to use tabletools to export datatables but I’m not getting buttons. I have the following "dom": 'T<"clear">lfrtip', "tableTools": { "sSwfPath":…
asked usersantos 765 -
0
votes2
answers737
viewsA: Add Image in Datatables as per status
Yes it worked in full "columnDefs": [ { "targets": 6, "data": "RESOLVIDO", "render": function (data, type) { var img = data == 0 ? 'img/close.jpg' : 'img/ok.jpg'; return type === 'display' ?…
jqueryanswered usersantos 765 -
3
votes2
answers737
viewsQ: Add Image in Datatables as per status
I walk around here with Datatables and wanted to add in a img type of state. If the value is 0 puts an image and is 1 puts another image on Row.…
jqueryasked usersantos 765