Autofitting grid's columns according to its contents might be a pretty expensive operation, especially if there is are many rows. How about extending the 'autoFitColumn' function by a parameter which specifies how many rows should be taken into account when determining column's width. That would speedup autofit operations while maintaining a pretty good (good enough) estimation on column's width.