4 Answers, 1 is accepted
0
Accepted
Hello,
It will be better to use the approach demonstrated here - this will work properly with grid vertical and horizontal virtualization. With our first service pack (Q1 2010 Sp1 - middle of April) you will be able to use various DataTemplateSelectors and StyleSelectors for the grid.
Greetings,
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.
It will be better to use the approach demonstrated here - this will work properly with grid vertical and horizontal virtualization. With our first service pack (Q1 2010 Sp1 - middle of April) you will be able to use various DataTemplateSelectors and StyleSelectors for the grid.
More info about DataTemplateSelectors and StyleSelectors can be found here:
http://msdn.microsoft.com/en-us/library/system.windows.controls.datatemplateselector.aspx
http://msdn.microsoft.com/en-us/library/system.windows.controls.styleselector.aspxGreetings,
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
Jon
Top achievements
Rank 1
answered on 31 Mar 2010, 02:06 PM
Hi..
I changed my code to use your approach for conditionally formatting....
But the grid still does not Refresh when I call Rebind.
The conditional formatting works fine... but when I change the data and rebind.
The Rebind does not call the Converter...
How can I refresh the grid and call the conditionally formatting?
Should I set the grid's item source to null and rebind that way?
thanks
I changed my code to use your approach for conditionally formatting....
But the grid still does not Refresh when I call Rebind.
The conditional formatting works fine... but when I change the data and rebind.
The Rebind does not call the Converter...
How can I refresh the grid and call the conditionally formatting?
Should I set the grid's item source to null and rebind that way?
thanks
0
Jon
Top achievements
Rank 1
answered on 31 Mar 2010, 02:20 PM
Here's some additional info...
I have the grid on a mainform form....
I call another modal form.... user changes the data etc..
The modal form returns to the mainform and I call Rebind()
thanks
I have the grid on a mainform form....
I call another modal form.... user changes the data etc..
The modal form returns to the mainform and I call Rebind()
thanks
0
Jon
Top achievements
Rank 1
answered on 31 Mar 2010, 02:30 PM
Nevermind.. I got it sorted out.... data being updated on 2 diff datacontexts...
thx
thx