Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Two tableviews problem
Started by rmbsoft Jul 10 2012 02:27 AM

2 replies to this topic
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Contributor

  • 444 posts
  • Corona SDK


I created a MAIN tableview that works fine, until i create a second one (RESULTS).

When creating the RESULTS tableview, the only event.phase i get from the MAIN tableview is "press", all the others like "release" are not fired anymore in onRowTouch()

When i remove this code that sets up the second tableview......

local resultlistOptions = {
        top = 40,
        width = 320,
	height = 410,
        maskFile = "mask-320x410.png"
local resultlist = widget.newTableView( resultlistOptions )

....then the Main tableview event.phases are working again.

Is it not possible to have 2 tableviews active at the same time?

I put everything in a seperate group for each tableview.

uid: 50459 topic_id: 28485 reply_id: 328485

[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Enthusiast

  • 41 posts
  • Enterprise

I am encountering the same issue.

Can someone from Corona labs reply whether this is possible or it is a limitation of the current widget system?

uid: 100477 topic_id: 28485 reply_id: 142051

[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Corona Geek

  • 2,597 posts
  • Corona Staff

Are you using the same listener for both tableViews?

NOTE: Using multiple tableViews and a tableView above another tableView is supported with the new widget library which is out very soon.
uid: 84637 topic_id: 28485 reply_id: 142363