Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
grid color row select
#1
Hello,
anybody know,
i search since long time
how to change row color when you click on cell

in fact how i can change color of row when i select row

thank's a lot
best regards
Reply
#2
Set ActiveRowColor in the grid's properties. Use event AsyncGotoRow to first ClearRowSelect and then set ActiveRow to Row.
Reply
#3
Hi,
Thank you , but you speak to dbgrid, not for grid,
Any ideas
best regards
Reply
#4
Looking back at the app I used this in, it's a TTIWAdvWebGrid component. That would make it from the TMS package. Sorry about any misdirection.
Reply
#5
Hi

I could only set the rows with javascript.

Example code:
---
var table = document.getElementById("gridname");
var rows = table.getElementsByTagName("tr");
for (i = 0; i < rows.length; i++) {
rows[i].className="cssname";
}
-----
Need to know:
- iwgrid in html code consists of divs and table components
- in the html code the name of the internal table component: "TBL" + gridname
- in the IW, switch off the corresponding parameters for StyleRenderOptions and CellRenderOption.

If there is a better solution, I am interested. Smile

regards
Robert
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)