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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:05:09+00:00 2026-05-25T16:05:09+00:00

I cannot see what I am doing wrong here. Simply put, I want to

  • 0

I cannot see what I am doing wrong here. Simply put, I want to add custom row to a section, add the section to a table view, then display the view in my window. Sounds easy enough. I’ve stepped through my code so many times that I can no longer see what I’m missing (I think we’ve all been there). So I need a fresh set of eyes to look at it.

First, I know I get data into the row. I add the row to the section via a for loop in the success callback from the server. I get no errors. The section appears in the window. But I simply cannot get the rows to display.

To avoid dumping the code in this block, you can find it pasted here.

If you need more information, please feel free to ask.

Thanks.

  • 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-25T16:05:09+00:00Added an answer on May 25, 2026 at 4:05 pm

    Wow,
    This was a tough nut to crack. One of my more-informed colleagues solved it over the weekend.
    Rather than pushing and adding elements to the parent. He simply used the appendRow method to add a row to an empty array which then was added to the table view.

    Create the table view first:

    // CREATE RESULTS TABLEVIEW
    var tvResults = Ti.UI.createTableView({
        backgroundColor : "white",
        data : [],
        top : 55,
        left : 10,
        width : 260,
        height : 250,
        borderColor : appHeaderColor,
        borderWidth : 1,
        borderRadius : 10
    });
    viewMain.add(tvResults);
    

    Then in the callback, iterate and append to the array which is added to the view:

    for(var i = 0; i < results.length; i++) {   
       tvResults.appendRow(createRow(results[i].deceased));
    } 
    

    Note that the important piece is data : [], in the tableview; the empty array for the data property. Hope this helps someone avoid the headache this caused me.

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

Sidebar

Related Questions

I cannot see what I am doing wrong here. Here is the code I
I don't see what I'm doing wrong with the LINQ query below. I'm building
I want to add horizontal scrollbars to my JScrollPane, because my table right now
for some reason I cannot see any of the generated objects under the TL
I see that tax information is kept at order level but I cannot see
I know that a 32-bit OS cannot see more than 4 GB of RAM.
We're testing WYSIWYG editors, and we cannot see to make them work with asynchronous
This is really weird, and I cannot see why this is happening. In the
For my Java apps with very long classpaths, I cannot see the main class
Why is the integrated vs debugger so... barely functional? I cannot see the contents

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.