We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Data Control customization

Thread ID:

Created:

Updated:

Platform:

Replies:

101608 Nov 7,2011 05:15 PM UTC Nov 10,2011 06:41 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Fabien Reberac
Asked On November 7, 2011 05:15 PM UTC

Hello.

1)
I have a Data Grid with a binding to an observable collection.
The items of my collection have a color property.

How can I bind this proprty to the color of the grid row ?

2)
More generally, how to customize a complete row (not only a cell)?

3)
How can I customize the grid lines of the grid?


Thanks.


Ragamathulla B [Syncfusion]
Replied On November 10, 2011 06:41 AM UTC

Hi Fabien,

Thank you for your Interest in Syncfusion products.

1) You can bind the collection in the GDBG. The following code explains the same.

ArrayList array = new ArrayList();
array.Add(new MyClass(001, "John David"));
array.Add(new MyClass(002, "Tom"));
array.Add(new MyClass(003, "Bretney"));
array.Add(new MyClass(004, "Jessy"));
array.Add(new MyClass(005, "Bruch"));
array.Add(new MyClass(006, "Johny"));

2 & 3 Hope this is helpful for your reference, Please refer to the following UG link

http://help.syncfusion.com/ug_94/User%20Interface/Windows%20Forms/Grid/Documents/522howtochangethebackcolorofacolumn.htm

Please refer to the sample link which is illustrates the same.

http://www.syncfusion.com/downloads/Support/DirectTrac/87069/GDBGSample-2118917405.zip

Please let me know If you have any further concerns.

Regards,
Ragamathullah B.



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;