Transparent Scrollbar Example
June 20th, 2008I had a problem the other day where I needed to only show one line of the AdvancedDataGrid but, I needed to maintain all data in the grid. Unfortuantely If you set the verticalScrollPolicy to “off” the ability to scroll to an index goes with it. The best solution that I found to work around this issue was to change the verticalScrollBarStyleName of the grid based on the state. The style declarations and and example are below.
<mx:Style>
.hiddenScrollBar {
track-skin : ClassReference(null);
up-arrow-skin : ClassReference(null);
down-arrow-skin : ClassReference(null);
thumb-skin : ClassReference(null);
}
</mx:Style>
One of my all time favs…got to love it
June 19th, 2008
PEBKAC design @ © SplitReason.com
Hello world!
June 9th, 2008Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!