[TIMOB-2001] Create a Multicolumn picker with imageView
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2011-04-15T03:07:49.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 |
| Components | iOS |
| Labels | picker |
| Reporter | ahmed |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T03:07:48.000+0000 |
| Updated | 2017-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}));
Please use http://developer.appcelerator.com/questions/created">Q&A for support questions. Lighthouse is only for verified defects.
Closed as invalid.