on 09-20-2007 3:53 PM
Hi
i am stuck on the following code
<b>setCellBackgroundColor(int row,int col,Color colorNew),</b>
in which formatt should i pass the color
This method requires one to create a Color Object using createColor(<some string>) method and then use the object to be passed as the newColor value.
<some string> can be a string (red blue green etc) or a hex value OR even an integer RGB value (not sure on that one though, just try it out).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can you
document.applet.createColor("#FF0000");
to create a color.
You could also just use the function
document.applet.getGridObject().setCellBackgroundColorAsString(1,1,"#FF0000");
Regards,
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.