Hi..
How can I make my ultragrid rows alternate in color...????
any simple example or idea to do this......
You are most probably looking for the RowAlternateStyleDefault style setting of the grid - it gets applied for every even row of the grid, while for odd rows the default RowStyleDefault is applied.
Example
<igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Height="200px" Width="325px"> <DisplayLayout BorderCollapseDefault="Separate" Name="UltraWebGrid1" RowHeightDefault="20px" Version="4.00"> <RowAlternateStyleDefault BackColor="#FF99CC"> </RowAlternateStyleDefault> <RowStyleDefault BackColor="White" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="8pt"> <Padding Left="3px" /> <BorderDetails ColorLeft="White" ColorTop="White" /> </RowStyleDefault> </DisplayLayout> </igtbl:UltraWebGrid>
are codes the same with windows app....??? coz,I think ultrawebgrid is for web app....
How can I apply those codes for my ultragrid windows app....???
thanks....
Here is a sample, i had used in my application,
ultragrid.DisplayLayout.Override.RowAlternateAppearance.BackColor = SystemColors.GradientActiveCaption;
Hi,
I am using template column in webgrid, code below:
The problem is, the RowAlternateStyleDefault-BackColor="#f0f5fb" stops working. Please any help?
Regards,
Apin
This is the forum from WebGrid, if you want to ask question for WinGrid, this is the correct forum
http://forums.infragistics.com/forums/65.aspx
Still, if you are new to the product and how it works, I would suggest going through the help first
http://help.infragistics.com/NetAdvantage/NET/2008.2/CLR2.0/
and then through the samples - it will be much easier and faster.