hkalbertl / jquery.appendGrid

The dynamic table input JavaScript plugin
https://appendgrid.azurewebsites.net
MIT License
148 stars 77 forks source link

Auto column size based on content in column #115

Closed sachin0606 closed 6 years ago

sachin0606 commented 6 years ago

Hi,

can you please suggest how can i make the column size auto fit based on content within the column.

ex: http://jsfiddle.net/MetalFrog/wexdX/

hkalbertl commented 6 years ago

Hi,

I am afraid appendGrid cannot resize the content dynamically because textboxes exist on columns.

Unfortunately, I found this autosize-input plugin that may help. By using this plugin, textbox can be resized based on its contents. You may use this plugin with Custom Type on the columns that you wanted autosize.

Hope it can help :)

sachin0606 commented 6 years ago

Thanks hkalbertl!