Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7556481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:52:02+00:00 2026-05-30T11:52:02+00:00

I use a WebView to show a table. The table is too big for

  • 0

I use a WebView to show a table. The table is too big for the screen so the user must scroll through the page. I want to show a fixed header which is always visible. Since the position:fixed is not working on most versions of the WebView, I implemented an alternative using the onScroll event and manually positioning the header.
The problem with this is that the onScroll event is only fired when the scrolling is finished. This means that if you scroll up the header will be scrolled too from top to bottom until you stop scrolling and then the event is fired and it is repositioned.
Anyone a better solution how to show this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:52:03+00:00Added an answer on May 30, 2026 at 11:52 am

    My final solution is to use two webviews, one on top of the other. The upper one shows the header, the lower one the content. To solve horizontal scrolling, a background thread synchronizes the scrollX-position of the header with this of the content webview. This thread runs as long as the user is touching the content webview or the last webview’s scrollX-position is different than the previous one. The latter is necessary because a user can swipe the content and then lift its finger. This works very well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use WebView, in order to show some paragraphs to user. In
i am using webview in activity and want to use option menu too. but
I use an Android WebView for Twitter OAuth : Twitter asks the user to
I have a webview in which a local html page is show. It all
I have an app that makes extensive use of a WebView. When the user
I want to have a button press display a web page, I use the
I know how to use UIWebView and can invoke a WebView if it is
Use case: user clicks the link on a webpage - boom! load of files
Use case: I've just entered insert mode, and typed some text. Now I want
Use Case When a user goes to my website, they will be confronted with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.