Attribute Rowtype

What is Row type Attributs?

Row type is a kind of filter, but it can only create an exception on a face tag using types of database rows. For Example if you need to set different HTML class for every other rows of database you can use this structure.


Syntax
< basis core=["Command Type"] datamembername=["yourdatamember name"] >
< face [rowtype="even or odd"] >
.
.
.

< /face>
< /basis>
sample rowtype
< basis core="print" datamembername="movie.art" >
< face filter= "Prpid=10000654" rowtype=odd >
< div class="img_1">
< div><img src= "@image">
<div> <p> @answer</p> </div>
</div>
</face>
< face filter= "Prpid=10000654" rowtype=even >
< div class="img_2">
< div><img src= "@image">
<div> <p> @answer</p> </div>
</div>
</face>
</basis>