How can we disable horizontal scroll in devexpress XtraScrollablecontrol - devexpress

In devexpress XtraScrollablecontrol I want only the vertical scroll bar. I don't want the horizantal scroll bar. How can we do that.

XScrollableControl does not provide a way to hide a scrollbar.
See Q392517 - "XtraScrollableControl make HorizontalScroll always invisible" in the DevExpress Support Center.

Set HorizontalScroll.Visible to false.

Related

How to display a scroll bar for telerik radgrid in asp.net

I am not able to enable scroll bar for telerik radgrid.
i have used ClientSettings.Scrolling.AllowScroll=true.
can any one help?
You have to set an explicit height to show the vertical scrollbar; without an explicit height, it won't show up.

How to reserve vertical scrollbar in an ExtJS 4 grid panel?

I'd like to know if there is a way to reserve space for a vertical scrollbar in a grid panel with ExtJS 4.1.1. I remember that I was able to do this with ExtJS 3, but maybe this feature was removed?
The grid has a fixed height so a scrollbar appears when the amount of rows exceeds the height of the grid. There is also a "delete" action that allows to remove each row one by one. The problem is that the action moves to the right when the scrollbar is not required anymore. This is the behaviour I'd like to avoid.
I think you're looking for reserveScrollbar
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.layout.container.Auto-cfg-reserveScrollbar
Add overflowY: 'scroll' as a config param for your grid. See docs here: http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.Component-cfg-overflowY.

Issues with ASP>NET devexpress grid height

I am using a devexpress gridview with editform template. My issue is I have many rows within a grid, so when I edit rows at the bottom of a page, the edit form goes below the screen and I have to scroll down to see the whole edit form. Is there a way to set this grid to auto height so I dont have to scroll down. Also the vertical scroll bar is always displayed even if I make it false.
You can use PopUpEditForm So That You Dont have To ScrollDown On The Screen And It appears in the middle of the screen itself.
You can use the following settings for the PopupEditForm for your grid
<SettingsEditing EditFormColumnCount="2" Mode="PopupEditForm" PopupEditFormWidth="800px"
PopupEditFormHeight="320px" PopupEditFormVerticalAlign="Below" PopupEditFormHorizontalAlign="Center"
PopupEditFormAllowResize="false" />
PopupEditFormWidth,PopupEditFormHeight - You can change it to any size you want so that all your controls are properly placed.

Why the content of my page moves to left itself?

go here: [obscured]
When I click on any filter and then I click to "all" filter, the content moves a little bit to the left. Why?
Because your scrollbar is appearing.
I think vertical scroll bar display when clicked on the all filter. that's problem.

Removing the Scrollbar from Horizontal List

I've got an Horizontal List. It contains 6 XML Nodes at the moment. But what I'd like to do is remove the scrollbar so that an button can function to scroll through the nodes instead.
Has anyone achieved this, if so how did you go about it?
Thanks in advance
You can usually remove the scroll bar by setting the horizontalScrollPolicy or verticalScrollPolicy to off.
After that, I believe you can scroll the list by setting the verticalScrollPosition or horizontalScrollPosition

Resources