This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a datetimepicker cell when using backgrid and the bootstrap3-datetimepicker | |
# this can be modified to work with other datepicker libraries | |
# http://eonasdan.github.io/bootstrap-datetimepicker/ | |
# http://backgridjs.com/ | |
MyDatePickerCellEditor = Backgrid.InputCellEditor.extend( | |
events: {} | |
initialize: -> | |
Backgrid.InputCellEditor::initialize.apply this, arguments | |
input = this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var username = Ti.UI.createTextField({ | |
width:Ti.UI.FILL, | |
hintText:'Email', | |
height:'40dp', | |
backgroundColor:'#fff' | |
}); | |
var line = Ti.UI.createView({ | |
width:Ti.UI.FILL, | |
height:'1dp', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fieldContainer = Ti.UI.createView({ | |
backgroundColor:'#fff', | |
borderRadius:5, | |
width:'80%', | |
height:Ti.UI.SIZE, | |
layout:'vertical' | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fieldContainer = Ti.UI.createView({ | |
backgroundColor:'#fff', | |
borderRadius:5, | |
width:'80%', | |
height:Ti.UI.SIZE, | |
layout:'vertical' | |
}); | |
var username = Ti.UI.createTextField({ | |
width:Ti.UI.FILL, |