maxazan / jquery-treegrid

TreeGrid plugin for jQuery
http://maxazan.github.io/jquery-treegrid
MIT License
553 stars 222 forks source link

Expanded node has a highlight behind the text #5

Closed williamoneill closed 10 years ago

williamoneill commented 10 years ago

First, this is a great control. Thank you.

I've noticed that when I collapse and expand a node, there is a selected text highlight behind the node text. It looks like a colored block behind the text block.

I fixed it with this style:

.tree td {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

Not sure if/how you want to include this in the styling.

maxazan commented 10 years ago

TreeGrid can be without "tree" class, so i can`t use your code. Thanks for your help. I will think about it.

williamoneill commented 10 years ago

Yeah, I agree. I know it's not the generic solution, but I thought I would share the problem and one possible solution with you.

I'm using your grid in a production site now. Pretty cool.

Take care, Bill

On 12/11/13, 6:29 AM, Maksym Pomazan wrote:

TreeGrid can be without "tree" class, so i can`t use your code. Thanks for your help. I will think about it.

— Reply to this email directly or view it on GitHub https://github.com/maxazan/jquery-treegrid/issues/5#issuecomment-30319929.