Hi All,

I am using ExtJs 4.1 framework. I have a grid in which all the columns are dynamically added. I want to adjust the width of the columns based on the content of first row. So If the content is number, I want to set the widht of column as 100px, if the content is string thae the column width should be 200px if the content of the column is date then I want to change the widht to 50 px. How can I do this?


Please provide your suggestions.

Thanks in advance.