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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:12:58+00:00 2026-05-20T11:12:58+00:00

i have a Window and i want to have a ScrollableView in the top

  • 0

i have a Window and i want to have a ScrollableView in the top and a TableView in the bottom area. How to do that?

I have the following code:

var currentWin = Ti.UI.currentWindow;

var dbdata = [
    { title: '' + man.fieldByName('manufacturer') + '', header: 'Manufacturer' },
    { title: '' + rows.fieldByName('series') + '', header: 'Series' },
    { title: '' + rows.fieldByName('engine') + '', header: 'Engine' },
    { title: '' + rows.fieldByName('horsepower') + '' , header: 'Horsepower' },
    { title: '' + rows.fieldByName('yearfrom') + ' to ' + rows.fieldByName('yearto') + '' , header: 'Year' },
    { title: '' + rows.fieldByName('types') + '' , header: 'Engine Type' }
];

var tableView = Ti.UI.createTableView({
    data: dbdata,
    top: 156
});


var image1      = Ti.UI.createView({width:320,height:156,backgroundImage:'../images/gallery/bmw3er/image1.jpg'});
var image2      = Ti.UI.createView({width:320,height:156,backgroundImage:'../images/gallery/bmw3er/image2.jpg'});
var image3      = Ti.UI.createView({width:320,height:156,backgroundImage:'../images/gallery/bmw3er/image3.jpg'});
var image4      = Ti.UI.createView({width:320,height:156,backgroundImage:'../images/gallery/bmw3er/image4.jpg'});
var image5      = Ti.UI.createView({width:320,height:156,backgroundImage:'../images/gallery/bmw3er/image5.jpg'});
var image6      = Ti.UI.createView({width:320,height:156,backgroundImage:'../images/gallery/bmw3er/image6.jpg'});

var scrollView = Ti.UI.createScrollableView({
    views:[image1,image2,image3,image4,image5,image6],
    showPagingControl:true,
    clipViews:false,
    top:0,
    left:30,
    right:30,
    width:320,
    height:156,
    opacity:0
});

currentWin.add(tableView);
currentWin.add(scrollView);

But when i use the upper code, only my tableView is shown. When i only use currentWin.add(scrollView) and remove the currentWIn.add(tableView), the scrollView is shown – but never both – why?!?!?

Notice: i have removed the database queries from the code sample!!!

Hope you can help?

Thanks,
Sascha

  • 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-20T11:12:59+00:00Added an answer on May 20, 2026 at 11:12 am

    remove the following parameter opacity: 0 in Ti.UI.createScrollableView function call.

    Regards.
    Adun

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

Sidebar

Related Questions

I have a HUD window that has some labels on it, and I want
I have a main window, that opens another window. I want to close this
I want to capture the browser window/tab close event. I have tried the following
I have window that contains a table on screen, now I want to attach
I have a window form named form1 and on that I want to show
I want to have a window that the User can resize, and I want
i have a window that i want to minimize (to the taskbar), so i
I have a main window and I want that when I maximize it the
I have a WPF window that I want replaced with another user control on
I have a dialog window using ncurses. But in that dialog window i want

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.