Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2001] Create a Multicolumn picker with imageView

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T03:07:49.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelspicker
Reporterahmed
AssigneeReggie Seagraves
Created2011-04-15T03:07:48.000+0000
Updated2017-03-02T19:18:43.000+0000

Description

Hello,
I want to create Multicolumn picker with imageView but I'm having the images only on the first column

function add_to_row(i){

var img = Ti.UI.createImageView({image :'../images/tabs/' + selected_categ_images[i]});
var row = Titanium.UI.createPickerRow();
row.add(img);
return row;

} for(var i=0;i<4;i++){

picker_data[i] = add_to_row(i);

}

var picker1 = Titanium.UI.createPicker({

selectionIndicator : true,
type : Titanium.UI.PICKER_TYPE_PLAIN

});

picker1.add(Titanium.UI.createPickerColumn({rows : picker_data}));
picker1.add(Titanium.UI.createPickerColumn({rows : picker_data}));

Comments

  1. Don Thorp 2011-04-15

    Please use http://developer.appcelerator.com/questions/created">Q&A for support questions. Lighthouse is only for verified defects.

  2. Lee Morris 2017-03-02

    Closed as invalid.

JSON Source