Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

Aspose Grid Change the Cell Back Color for the updatable Cell after save

Last post 10-13-2006, 2:07 AM by brayant. 2 replies.
Sort Posts: Previous Next
  •  10-12-2006, 7:54 PM 58813

    Aspose Grid Change the Cell Back Color for the updatable Cell after save

    Hi All,

    Now i have a task that want to do that  is want to change the back color for the cell that already change the value after the Save command event have call. Is it posible?

    I have do using the Celldouble click event then only change the cell back color using the cell index that i double click the cell.

    So i want to ask how to get all the cell index that have being change value and change the back color after save command have call.

    If anyone have this solution can help to solve it. Please. Thanks.

     

     

     
  •  10-13-2006, 12:40 AM 58824 in reply to 58813

    Re: Aspose Grid Change the Cell Back Color for the updatable Cell after save

    Attachment: Present (inaccessible)

    Hi,

       We think this is a useful feature, so we add a new property GridWeb.ModifiedCells. It's an ArrayList object contains all the modified cells since last postback.

       You may use it to set the back color like this:

      private void GridWeb1_SaveCommand(object sender, System.EventArgs e)
      {
       foreach (WebCell cell in GridWeb1.ModifiedCells)
       {
        cell.Style.BackColor = Color.Red;
       }
      }

       The attachment is the new version 1.7.4.4.

       Thank you for considering our product.


    Henry Xu
    Developer
    Aspose Nanjing Team
    About Us
    Contact Us
     
  •  10-13-2006, 2:07 AM 58828 in reply to 58824

    Re: Aspose Grid Change the Cell Back Color for the updatable Cell after save

    Thanks for helping.

    It really very powerful.

    Very help me solve  me a lot.

    Good. nice

    Thanks a lot. Good Product and service.

     
View as RSS news feed in XML