Category Archives: Technology & Code

Technology, gadgetry and code are just plain awesome, you can’t really deny it. So when I come across something that excites me or makes my life easier or simply gives us a view as to a very possible future that we might be moving towards, I can’t help but share it with the rest of you here on the CodeUnit of Craig.

jQuery DataTables: How to Use jQuery ThemeRoller CSS Styling on Your Table

As a bonus, the awesome jQuery DataTables plugin (which I religiously use on all my work-related HTML tables nowadays) comes with the option to enable jQuery ThemeRoller styling with a simple switch of an initialisation parameter! Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | Leave a comment

jQuery: Bind Multiple Different Elements to a Function

The question for today is how to bind a single function to multiple different elements (in other words, elements with either different classes or IDs) in a single call.
Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , | Leave a comment

PHPExcel: How to Bold a Cell’s Value

Today’s quick code tip is on how to embolden a cell’s value – in other words how to replace that big B bold button with some code! ;) Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | 5 Comments

PHPExcel: How to Set the Width of Cells

Today’s quick code tip is on how to specify or set the width of individual columns in your worksheet. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | 5 Comments

PHPExcel: How to Merge Cells

Today’s quick code hint deals with how one sets about merging a cell range using PHPExcell. Unfortunately for me though, the solution is so simple that this will only take one line of my time! :P Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | 2 Comments