Solved

Looking to add a static control at the top of a list view

  • 24 December 2018
  • 3 replies
  • 1 view

Is it possible to have a static control at the top of a K2 list view, similar to how you can freeze panes on Excel? I'd like to have a button control there that allows users to add the selected item to a form, and if that button stayed in place as they scrolled through the list view so they can always access it, that would be ideal. I haven't come across any way to do this.

icon

Best answer by khanh1 24 December 2018, 20:03

View original

3 replies

Userlevel 6
Badge +16

Hi,


 


You will probably need jquery for this. Perhaps, the following links might help.


https://k2recipes.wordpress.com/2017/04/22/smartform-list-view-with-fixed-header/


https://www.datalytyx.com/how-to-add-a-scroll-bar-with-fixed-headers-to-a-k2-smartforms-list-view/


 

Thanks for the info, Khanh. I'll definitely look into this.

For anyone interested, the second link Khanh shared was simple and worked like a charm.

Reply