Miguel Oz
asked on
How to implement a row column color change using Dev Express Quantum Grid in Delphi
Dear experts:
Please help on how to implement a row column color change using Dev Express Quantum Grid.
The target database table looks like:
Id, Code, Name, Description, Qty, Status (Y/N)
Basically the grid only displays Code, Name, Description, Qty and a custom column with a button "change status", when user clicks the button then the status is set
to "Y" and the row colour changes to GREEN.
Any row with status Ā = "Y" is shown in GREEN.
Note: By GREEN I mean change the background color to GREEN.
Please provide code sample, I can provide you a simple xml to use it in your client dataset if needed. (The table is actually part of SQL server 2012 database)
Sample Data:
1,651,name1,desc name 1, 10, N
2,652,name2,desc name 2, 10, N
3,653,name3,desc name 3, 10, N
Environment: Delphi 2007, but planning to move to XE7 soon.
Please help on how to implement a row column color change using Dev Express Quantum Grid.
The target database table looks like:
Id, Code, Name, Description, Qty, Status (Y/N)
Basically the grid only displays Code, Name, Description, Qty and a custom column with a button "change status", when user clicks the button then the status is set
to "Y" and the row colour changes to GREEN.
Any row with status Ā = "Y" is shown in GREEN.
Note: By GREEN I mean change the background color to GREEN.
Please provide code sample, I can provide you a simple xml to use it in your client dataset if needed. (The table is actually part of SQL server 2012 database)
Sample Data:
1,651,name1,desc name 1, 10, N
2,652,name2,desc name 2, 10, N
3,653,name3,desc name 3, 10, N
Environment: Delphi 2007, but planning to move to XE7 soon.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER