PDF.js is a great plug-in to display PDF files in the browser. However by default PDF.js uses 150 DPI print resolution which sometimes results in fuzzy and blurry images and text.
jQuery DataTables: COLSPAN in table body TBODY
Officially jQuery DataTables doesn’t support
ROWSPAN attributes for a cell in table body. I already wrote how to use ROWSPAN attribute with jQuery DataTables. Today I am going to demonstrate a trick to use
COLSPAN attribute for HTML and Ajax sourced data.
Vote Gyrocode for the best web designer in Bucks Happening 2018
It is that time of year again, when Bucks Happening opens the voting for the best web designer in Bucks County, PA.
jQuery DataTables: How to expand/collapse all child rows
While answering questions on StackOverflow and DataTables forum I have seen a number of similar questions on how to open all child rows. Today I am going to demonstrate a couple solutions to this problem.
W3 Total Cache: Uncaught exception ‘Exception’ with message ‘unknown engine’
Today I was working on a client’s website to optimize existing WordPress installation. WordPress and most of the plug-ins required an update. After running the update I started getting blank screen when saving any page on the website or trying to purge all caches.
jQuery DataTables: Row grouping and checkboxes (part 2)
Back in February, 2017 I wrote about unofficial row grouping plug-in for jQuery DataTables, see jQuery DataTables: Row grouping and checkboxes.
However there is also official extension for row grouping – RowGroup. It works differently than unofficial plug-in and adds a separate parent row for a group of child rows.
I added example demonstrating how to group rows in a table powered by jQuery DataTables plug-in and display checkboxes using Checkboxes plug-in, see RowGroup page for more details.
jQuery DataTables: How to select columns
jQuery DataTables plug-in has lots of useful extensions that let you add extra functionality. Select extension is probably one of the most popular ones providing item selection capabilities. Usually it is used to select table rows or cells but it is capable of column selection as well.
jQuery DataTables: Column reordering and resizing
Past version of jQuery DataTables had column reordering plug-in ColReorderWithResize that also provided the ability to resize columns by clicking and dragging the point between two columns. However this plug-in was not compatible with the latest version of jQuery DataTables.
Luckily Jeff Walter updated ColReorderWithResize to make column reordering and resizing work with jQuery DataTables 1.10 and released it under MIT license.
jQuery DataTables: How to navigate rows with KeyTable plug-in
Came across a question on StackOverflow asking on how to use KeyTable plug-in to navigate rows instead of cells. Currently KeyTable plug-in for jQuery DataTables lets you navigate cells but not rows.
How to detect mousemove event over iframe element
Recently I needed to add drag-and-drop support for an element that contained
iframe. When mouse pointer went over
iframe dragging stopped and that wasn’t accepted.