Click here to Skip to main content
15,899,937 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
plz help i am working on odata services now i have scroll the text with in the div so i created div and i had get the data from the database now i have scroll the data in div so that data should scroll with in the div

first i had call dataentitymodel
and dataserviesa got url and i had called data ( i had inserted data in database )now i have to scroll the data but i could't what could i do plz reply me
Posted
Updated 14-May-12 0:52am
v2

1 solution

Please clear your question.

If I understood it correctly then you want to put one scroll bar in your div where you are dumping data.

Then you can just put below styles on div and it will put scroll bars on div.

HTML
<div style="height:250px;width:200px;overflow:scroll ">
Data under scrollable div.
//Again if you only want vertical scroll bar then you can apply 
//overflow-y:scroll and remove overflow:scroll.
//below is for only horizontal scroll bar 
//overflow-x:scroll, 
</div>


hope it helped and i understood your query.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900