rvillamilj Posted December 26, 2007 Report Share Posted December 26, 2007 Hi, I just downloaded and have been learning how to use the Grid FX control, so far it looks pretty good. My biggest need is grouping, and I haven't been able to get it to work, when I try to collapse or expand the group I get a popup with the message: There was a problem while processing your request. The specific error message was: Exception type: System.InvalidCastExceptionMessage: Unable to cast object of type 'GridFX.WebForms.GridItem' to type 'GridFX.WebForms.GridItemGroup'.Stack Trace: at GridFX.WebForms.CellContainerCommandArgs`1.a(Object A_0) This is my markup: <GridFX:Grid ID="selectedGrid" runat="server" Motif="xPExplorer" Palette="xPExplorer"> <DataFields> <GridFX:TextField DataPath="salutation_id" UniqueID="salID" Title="Salutation"> <Grouping Enabled="true"></Grouping> </GridFX:TextField> <GridFX:TextField DataPath="EmailAddress" Title="Email" UniqueID="email"></GridFX:TextField> </DataFields> <Border Type="none" /> <TitleBar Visible="false"></TitleBar> <ToolBar Visible="false"></ToolBar> <Grouping Enabled="True"> <RootLevel Expanded="false" Field="salID"></RootLevel> </Grouping></GridFX:Grid> I'm databinding the grid to a List<T> and when I don't do the grouping it works great. If I enable the FloatingBar I can collapse/expand the group using one of the buttons for this, but I'm looking to disable the floating bar and just use the + or - sign. Thanks! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.