Robin, my grid has several columns each of which has its own custom cell editor. I have the need that every time I add a row that row must have a particular background color (Optional used SetRowAttr). To insert the row using the method ResetView. You can do this?
···
–
Fabio Spadaro
Try Sqlite Root a GUI Admin Tools for manage Sqlite Database:
Yes, any intersecting row, column and cell attributes are combined when the cell is rendering itself. The renderer uses an attribute object that has been combined if there are more than one involved with that cell. So setting the row attr of those newly added rows will allow you to use a different background color, even for those that have column attributes as well. Is that what you are asking about?
···
On 3/22/12 4:01 AM, Fabio Spadaro wrote:
Hi all.
Robin, my grid has several columns each of which has its own custom cell
editor. I have the need that every time I add a row that row must have a
particular background color (Optional used SetRowAttr). To insert the
row using the method ResetView. You can do this?
Il giorno 22 marzo 2012 18:12, Robin Dunn robin@alldunn.com ha scritto:
Yes, any intersecting row, column and cell attributes are combined when the cell is rendering itself. The renderer uses an attribute object that has been combined if there are more than one involved with that cell. So setting the row attr of those newly added rows will allow you to use a different background color, even for those that have column attributes as well. Is that what you are asking about?
I resolved.
In my application the grid corresponds to the data in a table sqlite and when I insert a new row (record) I want it highlighted with a color.
–
Fabio Spadaro
Try Sqlite Root a GUI Admin Tools for manage Sqlite Database: