I have an Ultrawingrid to which i am binding some columns from the Database. I group some of the columns with the Ultragrid group so that the result set comes up as below
Now using the ultrawincalc manager the user can add new calculated columns. can the user choose which ultragroup the columns should be added to? like can he choose the new column to go under any Group?
Also if the Datasource is empty can i set a No records message? if so how?
Mike,
Thanks for the reply, We have a custom Wizard Screen that leverages the Ultrawincalc manager properties and allows the users to define custom calculated columns.
I guess we will add the list of available ultragridgroups in the wizard and allow the user to pick the group as he adds the column.
Grid.DisplayLayout.Bands[0].Groups["DROPDOWNTEXT"].Columns.Add("New Calculated Column");
Hi,
chevuwt said:can the user choose which ultragroup the columns should be added to? like can he choose the new column to go under any Group?
I'm not sure what you are asking. There is no built-in functionality in the grid to allow the user to add new columns. So this must be your code. And therefore, your code can determine which group the new columns are added to.
chevuwt said:Also if the Datasource is empty can i set a No records message? if so how?
This is a new feature that was just added to NetAdvantage 12.1. Here's a link to the What's New topic in the help that shows you how to use it:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/Win_Whats_New_in_2012_Volume_1.html#WinGridEmptyMessage