This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
That depends partly on what you are using for a datascroller. There is no datascroller UI component in the core JSF. To get one, you have to either design/code/debug/maintain one of your own or use a third-party JSF extension tagset such as Tomahawk or RichFaces.
It also depends on how you define "disable". Whether you want the scroll gadget literally disabled (visible ghosted) or not displayed (rendered) at all.
However, one thing that you can rely on almost universally is that as long as your target dataTable has a statically-determined sized (something like a ListDataModel as opposed to a JDBC datamodel), then the following EL construct should work:
You can also use the "empty" EL expression to hide empty tables and/or display "No Data Available" messages.
An IDE is no substitute for an Intelligent Developer.