Tell if horizontal scoll bars are visible / active on a div layer.

U

ujjc001

Hello all.
Is there a way to know if my datagrid is wider than my div layer? This
is hard since the width on datagrid = 100% so it will not scroll,
leaving the scrolling to the div layer. The problem is when I set the
height of the div layer so it will not scroll vertically (based on the
height of the datagrid) if it scrolls horizontally I would need to add
some height to the div so I can see the pager in full. Was that
confusing? :)
I need a way to make know if the width of the datagrid will push the
width of the div and make it scroll. I've tried almost everything :)
I would love to hear of a simple way to get the DG width or the
property of the scroll bar (if it exists)
Thanks for any ideas!
Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,170
Latest member
Andrew1609
Top