EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: ppp on March 08, 2014, 07:04:28 AM



Title: toolbar moving with datagrid scroll
Post by: ppp on March 08, 2014, 07:04:28 AM
does anyone knows how to set datagrid's toolbar moving together with scrolling since in large
grid toolbar keeps in datagrid top

kind regards


Title: Re: toolbar moving with datagrid scroll
Post by: ppp on March 10, 2014, 08:52:02 PM
Nobody knows how to do this? It's really a common sense requirements from my customers.. they don't want to select a record on the datagrid's bottom and then come back to the top just to click a button.

Kind Regards,


Title: Re: toolbar moving with datagrid scroll
Post by: stworthy on March 11, 2014, 02:07:06 AM
The toolbar stays on top of datagrid, it can't move when scrolling rows. A possible solution to solve your issue is to use 'formatter' function to generate action column for each rows. Please refer to this tutorial http://www.jeasyui.com/tutorial/datagrid/datagrid12.php.


Title: Re: toolbar moving with datagrid scroll
Post by: ppp on March 11, 2014, 10:08:05 AM
Thanks for your answer !!! ... it's bad news since I have aprox. 10 buttons in my toolbar and several columns... so this workaround will mess the look and feel ...

I think this 'feature' it's really a 'nice-to-have' !!