Ticket T1284151
Visible to All Users

Multiple new rows style class

created 4 days ago

Hello,
I would like to ask whether it is possible to maintain the same styling for a newly added rows in DxTable (we implemented multiple new rows) as for the existing rows (row coloring, hover effect)?
We are using [ rowAlternationEnabled ]="true" but every new row has white background, it does not using dx-row-alt css class for every second row.
New rows are adding on top of existing.

Thank you.

Comments (1)
Diana (DevExpress Support) 4 days ago

    Hello Pavlo,

    Thank you for reaching out to us.

    Could you please clarify whether you mean rows that are added but not saved in batch editing mode? Like in this demo: Batch Editing. If so, it's necessary to add these styles manually. For example:

    CSS
    .dx-row-lines.dx-row-inserted.dx-state-hover { background: red !important; }

    We look forward to your reply.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.