Jump to content

DBGrid row highlight colour


Guest

Recommended Posts

Message from: "Andrew Tierney"

 

Hi,

 

The default row highlight colour is very hard to see on some LCD

monitors.. Is there a property to change the row select colour ? And if

not, can one be added.

 

Also.. On a moderately complex form (10+ tabs, lots of controls) there

is a bit of lag between clicking on the grid and showing the form. Is

there some optimisation to be done ? Or a way to preload/speed up the

form display ?

 

Thanks

Andrew

.

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"Andrew Tierney" wrote in message

news:yhJbrO7tLHA.3440@anaxagvs227...

> Hi,

>

> The default row highlight colour is very hard to see on some LCD

> monitors.. Is there a property to change the row select colour ? And if

> not, can one be added.

>

 

1) In related Ext JS CSS theme file you can modify below CSS class to show a

different color

 

..x-grid3-row-alt

 

2) Use new OnDrawColumnCell event to assign a different color to Odd/Even

rows

 

> Also.. On a moderately complex form (10+ tabs, lots of controls) there is

> a bit of lag between clicking on the grid and showing the form. Is there

> some optimisation to be done ? Or a way to preload/speed up the form

> display ?

 

Depending on the complexity of the Form browser can become slow in

rendering. There is not much to do about this. You can simplify your form or

remove some components to see if it changes. DBGrid with data is also a

slowing factor in rendering speed.

 

You can try a different browser. Among all browsers Chrome seems to be the

fastest.

 

 

.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...