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

User Controlled Cell Color and Widths

3 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 20 Dec 2013, 12:12 AM
Is there any way to allow a User to specify the background color of a cell like in Excel (not in itemdatabound)?  I realize that column widths can be changed by Users, but is there any way to save their configuration for a specific User?  Maybe an external xml file or sql?

Thanks,
Mark

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 24 Dec 2013, 03:04 PM
Hello Mark,

You can use context menu to achieve the requested functionality:
http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/context-menu/defaultcs.aspx#

Or color picker:
http://demos.telerik.com/aspnet-ajax/colorpicker/examples/serversideevents/defaultcs.aspx

As for persisting the column settings, you can use RadPersistenceFramework:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/persisting-grid-settings/defaultcs.aspx?product=grid

Hope this helps.

Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Mark
Top achievements
Rank 1
answered on 10 Mar 2014, 03:37 PM
Please forgive the extremely delayed response.

I'm am not sure how I am supposed to combine these three types of technology together.  The User is not too concerned with the width, but would really like to be able to right click on a cell in the RadGrid and change its background color. 

Are there any demos of this?  Can you please advise?

Thanks,
Mark
0
Eyup
Telerik team
answered on 13 Mar 2014, 03:22 PM
Hello Mark,

I have created a sample RadGrid web site to demonstrate how you can achieve the requested functionality. Please run the attached application and let me know if it helps you.

Regards,
Eyup
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Mark
Top achievements
Rank 1
Share this question
or