|
Title: Combogrid header column width Post by: rob on December 04, 2013, 02:15:02 AM The header columns in a combo grid initially have a wrong size (very small) when no width is given in the column definition (with fitColumns = true).
After a reload data or when using the pagination controls the header columns are resized to fit the content correctly. This can be shown with the combogrid demo (http://jeasyui.com/demo/main/index.php?plugin=ComboGrid&theme=default&dir=ltr&pitem= (http://jeasyui.com/demo/main/index.php?plugin=ComboGrid&theme=default&dir=ltr&pitem=)) by removing the width attributes as follows: Code: <!DOCTYPE html> Title: Re: Combogrid header column width Post by: stworthy on December 06, 2013, 04:42:17 AM To solve this issue, please call 'autoSizeColumn' method for datagrid when drop-down combo panel.
Code: <select class="easyui-combogrid" style="width:400px" data-options=" Or download the updated datagrid plugin from http://www.jeasyui.com/easyui/plugins/jquery.datagrid.js and include to your page. Title: Re: Combogrid header column width Post by: rob on December 17, 2013, 12:54:12 AM works like a charm, thx a lot...
|