Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8839] BlackBerry: Implement Simple TableViewRows

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-02-10T09:46:47.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 03 BB, 2013 Sprint 03
ComponentsBlackBerry
Labelsn/a
ReporterFrancois Boisvert
AssigneeJosh Roesslein
Created2012-04-20T11:32:13.000+0000
Updated2017-03-08T18:11:14.000+0000

Description

Feature

Implement TableViewRow proxies which support the simple row style. For simple rows (title, leftImage, etc) can probably use the Cascades StandardListItem. This is already implemented for using plain objects for the data array. Developers should also be able to listen for click and swipe events on rows.

Acceptance Test

1. Download the test case (tableview-test.zip) which includes the resources. 2. Create a project with the resources and run the app. 3. A list of items should appear with title text and a left image. 4. After a few seconds the last item should change to a pear. 5. Try clicking various rows. The text should change to "Click!" for a few seconds. The text should revert back to its original value.

Attachments

FileDateSize
app.js2012-07-30T06:03:18.000+0000385
tableview-test.zip2013-02-10T08:08:29.000+0000581966

Comments

  1. Tatyana Petrenko 2012-05-24

    sz: You can use the GridListLayout
  2. Jean-Philippe Lemieux 2012-05-28

    Seems to me like it relates more closely to HeaderListItem and/or StandardListItem
  3. David Campbell 2012-08-09

    Work in progress: https://github.com/Macadamian/titanium_mobile/pull/130 Using a custom control based on the container control for the list item.
  4. Tatyana Petrenko 2012-08-10

    OK, it seems this control doesn't really affect KS in a major way. The only thing that we can't do without it is enable/disable list elements, change font color, put objects instead of text. KS is functional without that. We are using alert dialogs instead of disabling items in the list for the time being.
  5. Tatyana Petrenko 2012-09-12

    This control is not supported directly by Cascades. It will have to be implemented in a custom way. Without it, TableView still is usable and allows for text content. TableViewRow might not be necessary for Beta. To be discussed.
  6. Lee Morris 2017-03-08

    Closing ticket as resolved.

JSON Source