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 6246719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:44:35+00:00 2026-05-24T12:44:35+00:00

i have GridView with each Grid as a simple TextView. i need a scrollbar

  • 0

i have GridView with each Grid as a simple TextView. i need a scrollbar for the TextView inside each Grid in the GridView. but encorporating a scrollbar disables my onClickListener for my gridview. i tried a using a ScrollView encapsulating a TextView and also using the built in scroll-bar of textview. either way i lose getting onClick events for my GridView.
i have heard about problem of using childviews that can be clicked or focused inside an adapterview and getting the onclick listener disabled. if have tried to set the Scrollview property of clickable and focusable to false and yet couldnt able to solve the problem.

i want a feature such that when the grid is clicked the onClick event registered for GridView be invoked and when a gird is dragged (preferrably in vertical direction) the textview must scroll.

Thanks in advance

  • 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-24T12:44:35+00:00Added an answer on May 24, 2026 at 12:44 pm

    A slight modification to your idea can make it implementable.
    Initially keep all textviews scrolls disabled. When a tap occurs on it (this will be gridview’s onItemClick) enable the scrollable state of the textview and set the onclicklistener for it. Now it can be scrolled as well as clicked. You got to maintain a member reference to current scrollable texview. When tap occurs on a different item set the current items textview unclickable and set the tapped item as currrent scrollable with click listener to it.
    The gridview can still be scrolled by dragging on any area apart from the current scrollable textview.
    Just a suggestion if you can use it.

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

Sidebar

Related Questions

I have a GridView in which each row has a custom view. The grid
I have a gridview control with delete asp:ImageButton for each row of the grid.
I have a gridview with multiple rows, each has a Update button and I
I have a gridview with some imagebuttons, each of which kicks off a report
I have a simple ASP page with databound grid (bound to an object source).
I have created a grid view that displays six cells of content. In each
I have a gridview in which there are two elements in each of its
i am using devexpress gridview 9.2. i have 2 gridview having 2 colum -->
I have GridView with CheckBox in it's header and another one in each row:
I have a gridview that contains around 16 ItemTemplate columns. The values in each

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.