Token: Alternate


The need to alternate between specific values at any given position within the ListX engine arose, and the ALTERNATE tag was added to provide just that capability. This is useful in scenarios where you need to switch between two class names to alternate background colors on Group rows, rather than detail, but this is not the only solution. Since it can alternate between as many items as you want – you can alternate between 100 different colors or text values if you desire.

Alternate Syntax

The syntax is fairly straightforward.  The definition includes the first parameter, used to uniquely identify the Alternate item key. This key will be unique to control the current index within the alternating list. The additional parameters make up the list of alternates.

Alternate Syntax:



<span class=”{ALTERNATE,myAlt,GroupItem,GroupItemAlt}”></span>                 

<span>{ALTERNATE,aplhaList,a,b,c,d,e,f,g,h,I,j,k,l,m,,o,p,q,r,s,t,u,v,w,x,y,z}. [TabName]</span>
Average ( Ratings):
Want to help out?

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seattle, WA •

Bookmark & Share Bookmark and Share