This is a migrated thread and some comments may be shown as answers.

Where is LoadingRow, or is there a better way?

11 Answers 156 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jerry Kurata
Top achievements
Rank 1
Jerry Kurata asked on 23 Apr 2010, 05:34 PM
Hi,
Where is the LoadingRow event found in the Silverlight DataGrid?  Or is there a better way to change the contents displayed in a cell at bind time?

Jerry

11 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Apr 2010, 07:52 AM
Hello Jerry,

You can use CellTemplateSelector, CellTemplate or IValueConverter for the column binding.

All the best,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Scott
Top achievements
Rank 1
answered on 20 May 2010, 03:36 PM
The stock Silverlight datagrid has a LoadingRow event.  What did you replace that with for the RadGridView?  DataLoading? 
0
Vlad
Telerik team
answered on 20 May 2010, 03:38 PM
Hi,

Currently there is no such event in RadGridView. Can you post more info about your scenario and why you need this event?

Regards,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Scott
Top achievements
Rank 1
answered on 20 May 2010, 03:40 PM
I want to set the background color of the row based on a property.  For example, if a property in my object is set to true, set the entire row's background color red, otherwise leave it alone.

I found an example on the web using the LoadingRow event.
0
Vlad
Telerik team
answered on 20 May 2010, 03:45 PM
Hello,

You can use RowStyleSelector or the old approach with IValueConverter.

Kind regards,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Scott
Top achievements
Rank 1
answered on 20 May 2010, 05:29 PM
Thank you for the quick explanation.
0
Maria
Top achievements
Rank 1
answered on 11 May 2011, 04:08 AM
My scenario is a bit different - I have a combobox column and I would like my combobox to have different data sources depending on another column. What  pattern should I choose?
0
Maya
Telerik team
answered on 11 May 2011, 06:30 AM
Hello Maria,

You may examine this blog post for a reference on the very same scenario.
 

All the best,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bijender
Top achievements
Rank 1
answered on 15 Dec 2011, 01:40 PM
I would like to change a particular cell's control(checkbox to combobox) at run time. Please help, how to resolve this without having LoadingRow event ?
0
Maya
Telerik team
answered on 15 Dec 2011, 01:50 PM
Hello Bijender,

Please take a look at this forum thread for a reference. 

Regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bijender
Top achievements
Rank 1
answered on 15 Dec 2011, 03:54 PM
Hi Maya,
Thanks for reply,
Actually in my gridview's column if I have text like "SR Created:##SR12345##" then i would like to make ##SR12345## as hyperlink at runtime else make it as simple text.
Tags
GridView
Asked by
Jerry Kurata
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Scott
Top achievements
Rank 1
Maria
Top achievements
Rank 1
Maya
Telerik team
Bijender
Top achievements
Rank 1
Share this question
or