Hi all,

I need to change the grid's row select color at runtime. Kindly help.

George.

asked 27 Feb '13, 00:50

George's gravatar image

George
1111333
accept rate: 0%


Hi George,

Grid's row select color is defined in CSS. Therefore, you have to change the application css in runtime to change this color. An example css to set grid's row select color as blue is as the following:

.bdf-grid .bdf-grid-row-selected .x-grid3-cell-inner {
  background-color: blue !important;
}
.bdf-grid .x-grid3-cell-selected  {
  background-color: blue !important;
}

Please check this thread to examine how to apply different CSS in runtime.

Hope this helps,
Ibrahim

link

answered 27 Feb '13, 06:16

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×19
×14
×3

Asked: 27 Feb '13, 00:50

Seen: 1,771 times

Last updated: 27 Feb '13, 06:16


© Copyright Gerger 2017