EasyUI Forum
April 29, 2024, 08:40:30 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to autosize datagrid so that it occupies whole of accordion  (Read 3413 times)
JPi
Newbie
*
Posts: 18


View Profile Email
« on: January 19, 2017, 10:53:46 PM »

Hi,

I have a datagrid within accordion which can be collapsed to right and can also be expanded. Now let's assume the datagrid columns occupy entire width of my accordion. When I pull accordion to left to increase its width then datagrid now occupies 70% of accordion width leaving the increased 30% space blank. How to auto size datagrid width to accordion width ? So if i increase or decrease width of accordion, my datagrid within will also resize automatically.

Thanks,
JPi
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 20, 2017, 02:22:16 AM »

Please set the 'fit' property to true for the datagrid.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!