Page 1 of 1
check box on right side
Posted: Thu Feb 06, 2014 7:45 am
by ishani modi
Hi,
I want checkbox on right side instead of left how will i get it ?
Thanks,
Ishani
check box on right side
Posted: Thu Feb 06, 2014 9:00 am
by Kateryna Grynko
Hi Ishani,
You would need to change CSS code considering "ui-checkbox" class. JQM adds "ui-checkbox" class to each Checkbox automatically. This will be something like codepadding-left: 10px;/code
Or you can try this construction for a separate component:preAppery('componentname').css('property','value'); /pre
You can give padding, border or whatever style you like.
check box on right side
Posted: Thu Feb 06, 2014 9:56 am
by ishani modi
hi i tried padding, but it still not working
check box on right side
Posted: Thu Feb 06, 2014 10:20 am
by Kateryna Grynko
Ishani,
Please add this CSS style to your component:codefloat: right;/code
check box on right side
Posted: Thu Feb 06, 2014 10:27 am
by ishani modi
Hi,
Just to clarify i want this type of the screen, i have used grid and inside it checkboxgroup. which i want on right side
check box on right side
Posted: Thu Feb 06, 2014 12:21 pm
by ishani modi
can you tell me in same grid cell how can set the text and image as shown in above image
check box on right side
Posted: Thu Feb 06, 2014 8:08 pm
by Maryna Brodina
Hello! For checkbox item add attribute (through More properties) data-iconpos=right or use the following JS preAppery("mobilecheckboxgroupName").find("label").attr("data-iconpos", "right");
Appery("mobilecheckboxgroupName").find("label").removeClass("ui-btn-icon-left").addClass("ui-btn-icon-right");/pre where mobilecheckboxgroupName - checkboxgroup name