Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

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

2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

rmbsoft

[GLOBAL: userInfoPane.html]
rmbsoft
  • Contributor

  • 444 posts
  • Corona SDK

Hi,

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,
	default="background.jpg",
        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]
#2

samwit

[GLOBAL: userInfoPane.html]
samwit
  • 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]
#3

Danny

[GLOBAL: userInfoPane.html]
Danny
  • 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



[topic_controls]
[/topic_controls]