EasyUI Forum
September 14, 2025, 03:01:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: resizing a datagird  (Read 5623 times)
pato.llaguno
Newbie
*
Posts: 6


View Profile Email
« on: November 04, 2015, 07:22:26 PM »

hello,

I have a datagird inside a "main" div, this is the main thing on my page, the rest is only a header and footer, I want for this header and footer to be static size, and that the datagird will take the rest of the space. the footer and header together add up 227 pixels, so i am trying to do browserheight - 227 will give me the desired height on datagrid, but i just can't find how to actually change it via the methods or properties.

Thanks!
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #1 on: November 05, 2015, 01:16:12 AM »

follow this one: http://jsfiddle.net/Ltkep7q3/
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
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!