Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015
Accepted Solution

FormTable scrollbar managment

Hi

 

 is there a way to control the scrollbar of the formtable control?

Often  a scrollbar is visible but there is no need for it as there is enough room for all results.

 

Regards

 

David

Staff
Posts: 1,017
Registered: ‎10-19-2015

Re: FormTable scrollbar managment

Hi David,

 

the default behavior for the kendo ui grid template is to always show the scrollbar. So you should customize the template or try to change the style in a custom theme. 

What I quickly found on the telerik documentation is that you can do it on your own:

 

http://docs.telerik.com/kendo-ui/web/grid/appearance

http://docs.telerik.com/kendo-ui/web/grid/how-to/Layout/hide-scrollbar-when-not-needed

 

but I also found that it is not guaranteed to work on all the browsers. There is a discussion here. You can give it a try.

 

Let me know,

Thanks.

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015

Re: FormTable scrollbar managment

Thank you for your answer,

 

i 'll look on this links.

 

Regards

 

David

 

Frequent Contributor
Posts: 90
Registered: ‎10-13-2015

Re: FormTable scrollbar managment

Hi David,

 

not clear, but fast and easy solution is to override just the style in CSS, add customstyle parameter to the Form tag and add to the CSS lines below

 

div#Tbl1 > .k-grid-content {
   overflow: hidden !important;
}

div#Tbl1 > .k-grid-header {
   padding-right: 0 !important;
}

replace Tbl1 with your FormName ... I have tested it only on vertical scrollbars

 

Frequent Contributor
Posts: 91
Registered: ‎11-10-2015

Re: FormTable scrollbar managment

hi

 

Thank you for your answer i didn't noticed before that you answere my Message.

 

Regards

 

David

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.