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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:58:24+00:00 2026-05-26T01:58:24+00:00

I have showing 5 to 8 items in the UITableView . But Separator line

  • 0

I have showing 5 to 8 items in the UITableView. But Separator line showing empty cells also. There are no value on that empty cells. Why Separator line showing on these empty cells? I choose the Separator value is Single Line in Interface Builder. How to show Separator line for currently displaying cells in the UITableView using MonoTouch?

Look at the screenshot. I have showing 5 items in the UITableView. But separator showing all the cells of UITableView. I need separator line for used cells in the UITableView.

look at the screen shot

  • 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-26T01:58:24+00:00Added an answer on May 26, 2026 at 1:58 am

    If I understand you correctly, you want to eliminate empty cells from your UITableView?
    If yes, do this to clear out the empty cells/space below your data:

    /// <summary>
    /// Removes empty lines below a tableview. Attention: calls the table's delegate implicitly, so make sure it is initialized.
    /// </summary>
    public static void ClearEmptyTableViewSpacers ( UITableView oTableView )
    {
        UIView oViewSpacerClear = new UIView (new System.Drawing.RectangleF (0, 0, oTableView.Frame.Width, 10));
        oViewSpacerClear.BackgroundColor = UIColor.Clear;
        oTableView.TableFooterView = oViewSpacerClear;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

rbnResubmission.Items.FindByValue(Yes).Attributes.Add(onclick, getCheckedRadioFieldResubmission(this)); rbnResubmission.Items.FindByValue(No).Attributes.Add(onclick, getCheckedRadioFieldResubmission(this)); So I have these click events for showing rows in
I have a List, that is not showing any items until you scroll, then
I have a a particular page that I am showing two diff items on
A have a galeria of items that shows a bigger picture after clicking. But
I have a listview that was showing a yellowtint on items when I touched
The .NET coding standards PDF from SubMain that have started showing up in the
I have a costumer showing Notepad with a large set of data that looks
I have a ListBox showing a list of people's names, emails, departments, etc. There
I have a UIImageView showing a image that is larger than it's frame. It's
I have a sidebar on my page for showing several items (one below the

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.