Disable UITableView Scrolling

Disable UITableView Scrolling

How to disable the UITableView Scrolling either programmatically or in XIB?

View Answers

August 30, 2011 at 1:16 PM

To disable the UITableView Scroll in your iPhone application just follow the given steps..

If you are doing it from XIB then just unselect the following fields in inspector ...
- bounce horizontally
- bounce vertically and
- scroll horizontally
- scroll vertically

or if programmatically, set the tableView scroll to NO. I am sure it'll work. See the code below...

self.tableView.scrollEnabled = NO; 

OR

[self.tableView setScrollEnabled:NO];









Related Tutorials/Questions & Answers:
Disable UITableView Scrolling
Disable UITableView Scrolling   How to disable the UITableView Scrolling either programmatically or in XIB
scrolling image
scrolling image  How create a scrolling image in java
Advertisements
image scrolling
image scrolling  A brief description of scrolling image
UITableView Array
UITableView Array  Somehow, in my iPhone application.. i am not able to add an array in UITableview. Can anyone please explain about the possible... in section" method as given below.. - (NSInteger)tableView:(UITableView *)tableView
Scrolling in UIWebView
Scrolling in UIWebView  How to make an un-scroll able UIWebView
UITableView heightForRowAtIndexPath
UITableView heightForRowAtIndexPath  Hi, How to write method for UITableView heightForRowAtIndexPath? Thanks   Hi, Here is the code example: - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath
UITableView delegate method
UITableView delegate method  Hi, Please let's know the UITableView delegate methods. Give me full code UITableView delegate methods.ADS_TO_REPLACE_1 Thanks
UITableView delegate method
UITableView delegate method  Hi, Please let's know the UITableView delegate methods. Give me full code UITableView delegate methods.ADS_TO_REPLACE_1 Thanks
UITableView Background Image
UITableView Background Image  How to set an image as a background of UITableView in iPhone SDK   I think, we can't
UITableView alloc and deallocating
UITableView alloc and deallocating  Hi, just wondering how to manage the alloc and dealloc methods for UITableView in my table view application. Thanks
UITableview show more
UITableview show more  How to fetch more records from the sql database in UITableview using show more option when there is a large amount of data? Thanks
Custom Cell View UITableview
Custom Cell View UITableview  How can i get two custom cell view in UITableView
Scrolling UIWebView JavaScript
Scrolling UIWebView JavaScript  Hi, i am looking for an example code to make a scrolling function for UIWebView in JavaScript. Thanks
uitableview inside uiviewcontroller
uitableview inside uiviewcontroller  How to insert a table view...)numberOfSectionsInTableView:(UITableView *)tableView { // Return the number of sections. return 1; } - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection
uitableview manually delete row
uitableview manually delete row  uitableview manually delete row   NSMutableIndexSet *indexes = [NSMutableIndexSet indexSet]; [array removeObjectAtIndex:indexPath.row]; if(![array count]) [indexes addIndex
disable function
disable function  Sir, I have called a java script function when one radio button is checked i want to disable this function when another radio button is checked ,both radio buttons are of same group Please help Thanks in advance
scrolling div ipad
scrolling div ipad   Please suggest me how to scroll the div in iPad UIWebView? Thanks
uitableview edit done button
uitableview edit done button  How to add Edit / Done button in UITableView with an action on click?   UITableview Edit done Button To add " Edit / Done button " in UITableView add the given code in UIView Controller
scrolling problem - Framework
scrolling problem  I have eco framework application in that i created one grid on contentpane and add image on grid . i also add window pane on contentpane also. while scrolling only image is moving but window is not moving
scrolling text in applet
scrolling text in applet  applet to display the scrolling text. The text should move from right to left. When it reaches to start of the applet border, it should stop moving and restart from the left. When the applet
How to write method for UITableView didSelectRowAtIndexPath?
How to write method for UITableView didSelectRowAtIndexPath?  Hi, Please tell me how to write method for UITableView didSelectRowAtIndexPath? Thanks   HI, Here is the code: -(void)tableView:(UITableView *)tableView
Database Scrolling Buttons
Database Scrolling Buttons  Sir, I have two button "Next" and "Previous". I'am able to retrieve data from database but I don't understand as to how display data on next and previous button clicks. Please help me out
How to disable an HTML object?
How to disable an HTML object?  How to disable an HTML object
enable disable checkbox in javascript
enable disable checkbox in javascript  How to enable disable checkbox in javascript
uikeyboard disable return key
uikeyboard disable return key  uikeyboard - hot to disable return key
Height for cell in table view - UITableView
Height for cell in table view - UITableView  UITableview height for cell What is the height for cell in table view iPhone mobile application
problem Scrolling jTable in scrollpane
problem Scrolling jTable in scrollpane  hi i get into a problem of scrolling jtable in scrollpane.Only horizontal scroll is working, vertical scroll is not working...here is m code: try { PreparedStatement pst
problem Scrolling jTable in scrollpane
problem Scrolling jTable in scrollpane  hi i get into a problem of scrolling jtable in scrollpane.Only horizontal scroll is working, vertical scroll is not working...here is m code: try { PreparedStatement pst
scrolling a drawing..... - Swing AWT
scrolling a drawing.....  I am using a canvas along with other components like JTable over a frame the drawing which i am going to show over canvas is dynamic and hence there is no fixed size, that's why i need to make
problem scrolling jtable
problem scrolling jtable  hi, i've to query the table thousand of times...m table display is not getting stable/proper,especially after getting the empty table... for removing the table i'm doing this:: numrows
Scrolling List Box. - Java Beginners
Scrolling List Box.  How can is make a list box scrollable by using method ? Please give me the code snipetts
Scrolling List Box. - Java Beginners
Scrolling List Box.  How can is make a list box scrollable by using method ? Please give me the code snipetts
disable keyboard in java applet
disable keyboard in java applet  How to disable key board of my client in an java applet embedded in a website while the applet is running.? Plz help
Scrolling List Box. - Java Beginners
Scrolling List Box.  How can is make a list box scrollable by using...) { //Nobody's left, disable firing. deleteButton.setEnabled(false...) { //No selection, disable deleteButton
enable disable table
enable disable table  hi I have table with 3 columns if i click one column the other 2 column should disable pls can anyboby help me
Setting a Background image for UITableView in iPhone & iPad application.
Setting a Background image for UITableView in iPhone & iPad application.  in my iPhone application i am using a simple UITableView to show... the UITableView using set backgroundcolor. But my requirement is bit different ..i wanted
uitextfield disable keyboard
uitextfield disable keyboard  How to disable keyboard of UITextView in iPhone SDK application?   There are two ways to disable the keyboard...)]; [self.view addSubview:pv]; return NO; } //or simply disable
code to disable back button of browser
code to disable back button of browser  code to disable back button of browser
code to disable back button of browser
code to disable back button of browser  code to disable back button of browser
disable and enable the submit buttons
disable and enable the submit buttons  i have two summit button in my form. one is disabled and other is navigating to the other page. after 3 submissions of the submit button the disabled one must be enabled and the enabled one
how to disable browser back button
how to disable browser back button  Am doing a web application in that how to disable browser back button using java script
Disable of Combo - JSP-Servlet
Disable of Combo  Hi! Thanks for your fast reply. In my project i am giving grading facility to the user. Once user selected his grade in combo.... That means every user can give grade only at once... so i would like to disable
ModuleNotFoundError: No module named 'pytest-disable'
ModuleNotFoundError: No module named 'pytest-disable'  Hi, My... named 'pytest-disable' How to remove the ModuleNotFoundError: No module named 'pytest-disable' error? Thanks   Hi, In your python
disable the form - JSP-Servlet
disable the form  Hi All, I'm developing a small application. I wrote jsp page in that 8 forms are there.all forms are same but the input values... that particular button disable by using document.formname.buttonname.disable = true
problem in scrolling SVG drawing in canvas - MobileApplications
problem in scrolling SVG drawing in canvas  hi all, i'm...- usually map's size is bigger than mobile screen , so i need to make scrolling over the drawing , scrolling works well in wireless toolkit emulator , but when i
UITableView Background Color
UITableView Background Color To change the background color of UITableView in iPhone application, you just need to write the given line of code into the tableView cellForRowAtIndexPath. tableView.backgroundColor = [UIColor grayColor
UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath
UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath  HI, What is the solution of UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath error? Thanks
Write an applet to display scrolling image in an applet window using thread.
Write an applet to display scrolling image in an applet window using thread.  Write an applet to display scrolling image in an applet window using thread
How to disable task manager using java
How to disable task manager using java  How to disable task manager using java
How to Disable Catch-all Emails on CPanel
How to Disable Catch-all Emails on CPanel  Hi, How to disable catch all emails setting on CPanel? Thanks

Ads