Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fill the height of datagrid #22

Open
GoogleCodeExporter opened this issue Apr 4, 2015 · 2 comments
Open

How to fill the height of datagrid #22

GoogleCodeExporter opened this issue Apr 4, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I'm using easyui in my project.
I have a problem that datagrid can not fill the height of it's container.
When I use fit=true, it brings to a too height grid. Because I have some other 
custom elements in the container like toolbar,searchbar,statubar etc. 
So I need to resize the grid by the height I compute when it renders.
I overrided the $.fn.datagrids.defaults.view's onAfterRender, but it was called 
every times when the grid rendered or refreshed.
Is there any way to insert my code in somewhere and it can can be called only 
once where the grid will be created or rendered.
Thank you!

Original issue reported on code.google.com by tsing0h...@gmail.com on 16 Sep 2013 at 2:20

@GoogleCodeExporter
Copy link
Author

v1.2.5

Original comment by tsing0h...@gmail.com on 16 Sep 2013 at 2:26

@GoogleCodeExporter
Copy link
Author

I think I have resolved.

Original comment by tsing0h...@gmail.com on 16 Sep 2013 at 3:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant