on 07-27-2016 8:02 AM
Hi All,
I am using sap.ui.commons.FileUploader to upload file. Unfortunately I cannot use other controls as the UI version is 1.20.9.
I changed the style of browse button of uploader by using the following code and as shown in the attached screenshot.
$('#FILEUPLOADER button').addClass('uploadButton');
where uploadButton class is
.uploadButton.sapUiBtnS.sapUiBtn.sapUiBtnStd {
background-color: rgb(105, 185, 214)!important;
border: none;
color: white;
font-size: 13px;
font-family: zetta serif;
}
.uploadButton.sapUiBtnS.sapUiBtn.sapUiBtnStd:hover,.uploadButton.sapUiBtnS.sapUiBtn.sapUiBtnStd.sapUiBtnStdHover
{
background-color: #285676!important;
}
On uploading a document the added style gets vanished. I tried different ways. None of them worked.
Is there any powerful way to fix this?
Hi Sudarshan,
Will this sample help? JS Bin - Collaborative JavaScript Debugging
I used version 1.20.8, since 1.20.9 was not available on cloud: Available SAPUI5 versions on SAP HANA Cloud Platform
Regards,
Sai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sudarshan,
I don't see any issues with platinum as well? JS Bin - Collaborative JavaScript Debugging
Regards,
Sai.
Try the same on Plunker. It won't work.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.