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

[Solved] Change BackColor of masterTableView From Javascript

1 Answer 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kim
Top achievements
Rank 1
Kim asked on 13 May 2009, 05:46 PM
Does anybody know how to accomplish this?
I am currently working with the Drop and Drag function of the radGrids.  My problem is when the drop grid is empty, the "Drop Zone" is small and is easily missed, I want to highlight the MasterTable when they mouse over where they can drop it.

Is there anyway of making the "Drop Zone" bigger?

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 May 2009, 08:16 AM
Hi Kim,

Here is how to add a background color to the RadGrid MasterTableView or change its height on the client:

Javascript

var gridTable = $find("RadGridClientIDHere").get_masterTableView().get_element(); 
gridTable.style.backgroundColor = "red"
gridTable.style.height = 100 + "px"


Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Kim
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or