c# - Setting one Datagrid row to be a certain colour -


this problem not intuitive me i'm not entirely sure start.

i wanted change fifth row of datagrid have grey background.

<telerik:radgridview itemssource="{binding quarterlyinfo, isasync=true}" showgrouppanel="false" selecteditem="{binding selecteditem}">     <telerik:radgridview.rowstyle>         <style targettype="telerik:gridviewrow">             <setter property="cal:message.attach" value="[event mousedoubleclick] = [open()]"/>         </style>     </telerik:radgridview.rowstyle>         <telerik:radgridview.columns>             <telerik:gridviewdatacolumn header="section" datamemberbinding="{binding sectionnum}"/>             <telerik:gridviewdatacolumn header="section info" datamemberbinding="{binding sectioninfo}"/>             <telerik:gridviewdatacolumn header="result" datamemberbinding="{binding result}"/>         </telerik:radgridview.columns> </telerik:radgridview > 

this article seems have answer you.

it talks getting row index , setting color.

http://www.telerik.com/forums/rowelement-get-row-index


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -