Let's say you have a grid that holds users and users actions. If you click a user, you get the user's actions. Could this user actions band hold a "add new row " empty row ?
thanks,
Marius.
Sorry, I've just seen you answered this q. in another post of mine. Thanks!
Thanks Mike!
Another thing would be how to customize that "Add New Row" ? I want it to be an ultracombo for the users actions, and a normal one for the users ?
Hi Marius,
Sure, you just use the AllowAddNew property on the Override object.
Assuming your data is in a hierarchy with users as the parent rows an user actions as the child rows, you could turn on the TemplateAddRow for just the child rows like so:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands["User Actions"].Override.AllowAddNew = AllowAddNew.TemplateOnBottom; }