Update js/flexigrid.js

Fixed issue with template