Title: datagrid fitColumns with bufferview Post by: reneH on May 16, 2021, 03:22:17 AM Hi,
I want to use the bufferview, instead of defaultview. My problem is, that "fitColumns" property seems not to be working then. In defaultview it does. Can anybody help me please ? Thanks ! Title: Re: datagrid fitColumns with bufferview Post by: jarry on May 17, 2021, 06:34:49 AM The 'fitColumns' property works with all datagrid views. If your issue continues, please show an example or some code snippets to demonstrate your issue.
Title: Re: datagrid fitColumns with bufferview Post by: reneH on May 17, 2021, 08:40:15 AM When I use this code, it works:
Code: $('#datagrid').datagrid( When I use this, it doesnt work correctly: Code: $('#datagrid').datagrid( Hope you can see the attachments.. There is a screenshot of bufferview and one of defaultview.. Thanks ! Title: Re: datagrid fitColumns with bufferview Post by: reneH on May 17, 2021, 08:51:02 AM Here I attached the second Screenshot from defaultView..
Title: Re: datagrid fitColumns with bufferview Post by: jarry on May 19, 2021, 12:19:40 AM Please look at this example that uses the 'bufferview' with 'fitColumns'. It works fine.
Code: var dg = $('#dg').datagrid({ https://www.jeasyui.com/demo/test/test15.html |