GrapeCity Forums

The GrapeCity Message Boards
Welcome to GrapeCity Forums Sign in | Join | Help
in Search

Remove group item in GroupBar programmatically

Last post 10-07-2008, 4:34 AM by Fleming7612. 2 replies.
Sort Posts: Previous Next
  •  10-07-2008, 3:09 AM 69964

    Remove group item in GroupBar programmatically

    Hi,

    I want to remove group items that user dropped on the group bar by code.

    The grid appearance will return to the normal status (without data grouping) 

    Any suggestion or vb.net sample code would be appreciated.

    Thank you

    Fleming

     

  •  10-07-2008, 4:24 AM 69966 in reply to 69964

    Re: Remove group item in GroupBar programmatically

    Fleming -

    You can do the following...

    fpSpread1.Sheets(0).Models.Data = (CType(fpSpread1.Sheets(0).Models.Data, FarPoint.Win.Spread.Model.GroupDataModel)).TargetModel

    You would also have to turn off the GroupBar.


    Bob M.
    FarPoint Technologies, Inc.
  •  10-07-2008, 4:34 AM 69967 in reply to 69966

    Re: Remove group item in GroupBar programmatically

    Cool! It works.

    Thank you very much

    Fleming

     

View as RSS news feed in XML
     FarPoint Forums Home