Hi,
iknow this is not mobiscroll related but how do i align the Remove label to the end?
renderResource: function(resource) {
var x = '<div style="font-size: 12px; color: grey">';
if (resource.schedType === 'FCFS')
x += 'Maximum px = ' + resource.maxPatientCount;
else
x += 'Duration = ' + resource.consultPerPatient + 'mins/px';
x += '</div>';
return x + '<div>' + resource.name + '</div><br/>' +
'<span style="color: red;text-decoraton: underline; cursor: pointer;" onClick="window.ajaxRequest(' + config.id.replace('_id','') + ',"remove_resource",["id=' + resource.id + '"])">Remove</span';
},