on 09-08-2009 1:08 PM
Hi,
I want to fill some of my input field with some colour or I want to highlight the boarder of the input field so as to make the field distinct from other fields.I tried changing the property of the cell:- cellbackgroundDesign (fill1,fill2,plain,thansparent,boarder).But its not working.
can nywant please suggest how to do this.
regards
-Sandip
Hi,
As per my knowledge there is no possibility to change the colour of the inputfield.
If that input field is not editable (read only) then instead of input filed you can use the textview and you can change the sematicColour property to change the colour.
Regards,
Charan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you observe, cellBackgroundDesign is not the property of the input filed.
This property will be there under LayOutData Section of your input field properties.
That means it is the property of the container( Transparent/ Group..etc) in which this input field is there.
If you change the value in this property the background colour of that container will change. Not the colour of InputField.
You can do one thing. But i dont suggest to do that.
Adjust the width and height of the container just a little bigger than Input Field. And then change the background colour. It looks ok.
Regards,
Charan
Hi,
Write the following code in WDDoModify of your view..
if(firstTime)
{
IWDInputField InputField = (IWDInputField) view.getElement("INPUT_1");
InputField.requestFocus();
}
Here INPUT_1 is the ID of your input field.
It will help you.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
sorry for the last post. Actually puts the cursor in desired input field.
Go through the following thread ... It may help you.
https://forums.sdn.sap.com/click.jspa?searchID=31380798&messageID=8120684
Regards,
Rohit
Hi Sandip,
Check the below pdf
Hope this helps you..
Regards,
Saleem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.