mljonzs
Posts: 124
|
| Posted: 05/18/2007, 2:48 PM |
|
Hi. I've tried posting this question in the past but never received any answers and it has come up for me once again.
Does anyone know how I can make an editable grid look like a normal grid with alternating rows? I want both grid types to appear the same with alternating rows but I'm not sure how to accomplish this. Has anyone done something like this?
Thanks!
Michelle Jones
_________________
What does not begin WITH God, will end in failure!
|
 |
 |
wkempees
|
| Posted: 05/19/2007, 6:07 PM |
|
Can be done like this:
Open your EditableGrid Page
Go to HTML mode
Find the <tr class="Row">, before the <td> containing you rows labels.
delete the class="Row" and with the cursor on the position where the 'c' of
class was
right click mouse, from the menu choose insert attribute
Atrribute name "RowStyle", leave the rest blank, close the dialog, change to
Design mode
Click the mouse in the EditGrid's row (for instance) after the first field
In the Properties window, Events
Right click BeforeShowRow, add Action (not add code) from the
Category:General choose "Set Row Style"
That's all.
Walter
"mljonzs" <mljonzs@forum.codecharge> schreef in bericht
news:6464e1f418540f@news.codecharge.com...
> Hi. I've tried posting this question in the past but never received any
> answers
> and it has come up for me once again.
>
> Does anyone know how I can make an editable grid look like a normal grid
> with
> alternating rows? I want both grid types to appear the same with
> alternating
> rows but I'm not sure how to accomplish this. Has anyone done something
> like
> this?
>
> Thanks!
> Michelle Jones
> _________________
> Happy coding!
> mljonzs
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>
|
|
|
 |
Wkempees
|
| Posted: 05/20/2007, 5:06 AM |
|
The action will ask for Attribute name.
That of course is "RowStyle"
W.
|
|
|
 |
mljonzs
Posts: 124
|
| Posted: 05/21/2007, 7:19 AM |
|
You're awesome, Walter! Thank you VERY much!
M.Jones
_________________
What does not begin WITH God, will end in failure!
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 05/21/2007, 7:59 AM |
|
http://forums.codecharge.com/posts.php?post_id=82708&s_keyword=alternate
this is where it all originated.
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
|