Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

how to Remove all rows from Picker on Android?

$
0
0

Tried below code on Android it is crashing .I have two pickers in view .This View is added to scrollview. In portrait mode it works fine .Strange in Landscape mode app crashes ... if(picker.columns[0]) { var _col = picker.columns[0]; var len = _col.rowCount; for(var x = len-1; x >= 0; x-- ){ var _row = _col.rows[x]; _col.removeRow(_row); }

} Let me know is there any new way of removing all rows from the picker . Please any one this is required urgent .


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>