introduced the internal getColumnOffset() function to hide the code complexity where we now rigorously employ the column cache to deliver cell pixel offset values, replacing the loops in several places by a single lookup.
introduced the internal getColumnOffset() function to hide the code complexity where we now rigorously employ the column cache to deliver cell pixel offset values, replacing the loops in several places by a single lookup.

Also simplified the column cache into using a single columnPosLeft[] array storing both right/left edges (as they are the same) thus cutting down on the cache prepwork for each update. cache array columnPosRight[] is now obsolete and removed from the code.

Simplified the colspan using code as many conditional calculations were performed where a simple straight single calculation is perfectly equivalent.

GerHobbelt/SlickGrid,GerHobbelt/SlickGrid,GerHobbelt/SlickGrid