Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change style when find value in slickgrid #1216

Open
Mahsa1996 opened this issue Nov 11, 2020 · 1 comment
Open

How to change style when find value in slickgrid #1216

Mahsa1996 opened this issue Nov 11, 2020 · 1 comment

Comments

@Mahsa1996
Copy link

Hello every body,
I want, when I search for example "apple" ,find this word and change background color. but I can't find solution for this.

My Code:

protected showMatchItem() {
this.searchresult.text(${this.currentMatchIndex + 1} از ${this.matchIndexes.length});
this.slickGrid.scrollRowIntoView(this.matchIndexes[this.currentMatchIndex], true);
this.slickGrid.setCellCssStyles("Title_highlight", { 0: { Title: "highlight" }, 5: { Title: "highlight" } });

@6pac
Copy link

6pac commented Nov 12, 2020

Can I suggest posting on StackOverflow. GitHub is for bugs. Also, this repo is dead. Slickgrid is now at: https://github.com/6pac/SlickGrid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants