Пример #1
0
        internal void Run(IPresent ip, Row row)
        {
            // todo: visibility on the column should really only be evaluated once at the beginning
            //   of the table processing;  also this doesn't account for the affect of colspan correctly
            //   where if any of the spanned columns are visible the value would show??
            TableColumn tc = _OwnerTable.TableColumns[_ColIndex];
            if (tc.Visibility != null && tc.Visibility.IsHidden(ip.Report(), row))	// column visible?
                return;													//  no nothing to do

            ip.TableCellStart(this, row);

            _ReportItems.Items[0].Run(ip, row);

            ip.TableCellEnd(this, row);
            return;
        }
Пример #2
0
		internal void Run(IPresent ip, Row row)
		{
			// todo: visibility on the column should really only be evaluated once at the beginning
			//   of the table processing;  also this doesn't account for the affect of colspan correctly
			//   where if any of the spanned columns are visible the value would show??
			TableColumn tc = _OwnerTable.TableColumns[_ColIndex];
			if (tc.Visibility != null && tc.Visibility.IsHidden(ip.Report(), row))	// column visible?
				return;													//  no nothing to do

			ip.TableCellStart(this, row);
			
			_ReportItems.Items[0].Run(ip, row);

			ip.TableCellEnd(this, row);
			return;
		}