Hi All,
I've discovered my first attempt was incorrect. I now have grouping with columns frozen on the right thanks to the demo that came with the controls. However, removing the +/- and expanding all the rows has been challenging. So how do I do that?
I've tried various permetations of: public ApprovePaymentsForVendorInvoicesUIPresenter() { _approvePaymentsForVendorInvoicesUI = new ApprovePaymentsForVendorInvoicesUI(); _approvePaymentsForVendorInvoicesUI.GridApprovals.InitializeLayout += GridApprovals_InitializeLayout; _approvePaymentsForVendorInvoicesUI.GridApprovals.InitializeRow += GridApprovals_InitializeRow; _approvePaymentsForVendorInvoicesUI.GridApprovals.SetDataBinding(GetDataForUI(), "", true, true); _approvePaymentsForVendorInvoicesUI.GridApprovals.Rows.ExpandAll(true); _approvePaymentsForVendorInvoicesUI.GridApprovals.Refresh();
foreach (UltraGridRow row in _approvePaymentsForVendorInvoicesUI.GridApprovals.Rows) { row.Expanded = true; row.ExpandAncestors(); }
}
private void GridApprovals_InitializeRow(object sender, InitializeRowEventArgs e) { e.Row.Expanded = true; }
private void GridApprovals_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Override.ExpansionIndicator = Infragistics.Win.UltraWinGrid.ShowExpansionIndicator.Never; }
Screenshot.
Well I'm getting father but I think I have reached the end. I need some help on:
1) Company Or Property: XXXX (# items) - need it w/o the (# items)
2) Venor: XXX (# items) - need it w/o the (# items)
3) Remove the blank footer above the totals
4) Add Vendor on the SummaryRow - I saw something about DrawFilters but unsure how to drill down thru each type I want to change (Top Level Grp, next level)
5)Company Or Property summary row need to add the Company/Property name here
6) need the +/-'s removed
I cant have them staggering down. I need it like the following:
Summary Row Example
if vendor is Alpha
Alpha #####.## #####.##
not
Alpha
#####.## #####.##
same goes for company.
Glenn Andrews said: Screenshot.
Please advise
Thanks Glenn