Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
cell change colour in WebGrid
posted

In WebGrid , if any cell value get changed , is there any way to change the colour of the changed cell to show the user has chnaged the cell?

Parents
  • 1765
    posted

    Hi duttagoutam,

    We don't have functionality to track edited cells in WebGrid. However, this requirement could be achievied by implementing few lines of code in server-side and databinding style attribute inside h:outputtext. Code snippet listed below.

    Thank you!

     

     <ig:column>

    <f:facet name="header">

     

     

     

     

     

     

    <h:outputText value="Phone Number" />

     

     

    </f:facet>

     

     

    <h:outputText value="#{DATA_ROW.phoneNumber}" style="background-color:#{DATA_ROW.bgcolor}" />

     

     

    </ig:column>

     

     

     

Reply Children