protected void gridProps_RowDataBound(object sender, PXGridRowEventArgs e) { if ((string)e.Row.DataKey.Value == "Expression") { e.Row.EditorID = "edFormula"; } }
protected void grid_RowDataBound(object sender, PXGridRowEventArgs e) { if (e.Row != null && e.Row.DataItem != null) { PXStringState state = this.ds.DataGraph.Caches[e.Row.DataItem.GetType()].GetStateExt(e.Row.DataItem, "Value") as PXStringState; if (state != null && state.InputMask == "*") e.Row.Cells["Value"].IsPassword = true; } }
protected void grid_RowDataBound(object sender, PXGridRowEventArgs e) { WZTask task = (WZTask)e.Row.DataItem; if (task.Offset != null && task.Offset > 0) { e.Row.Cells["Name"].Style.CssClass = "PropOffset" + task.Offset; } }
protected void taskFeatures_DataBound(object sender, PXGridRowEventArgs e) { WZTaskFeature feature = (WZTaskFeature)e.Row.DataItem; if (feature.Offset != null && feature.Offset > 0) { e.Row.Cells["DisplayName"].Style.CssClass = "PropOffset" + feature.Offset; } }
protected void grid_RowDataBound(object sender, PXGridRowEventArgs e) { if (e.Row != null && e.Row.DataItem != null) { PXStringState state = this.ds.DataGraph.Caches[e.Row.DataItem.GetType()].GetStateExt(e.Row.DataItem, "Value") as PXStringState; if (state != null && state.InputMask == "*") { e.Row.Cells["Value"].IsPassword = true; } } }
/// <summary> /// The row data bound event handler. /// </summary> protected void gridColumn_RowDataBound(object sender, PXGridRowEventArgs e) { switch ((string)e.Row.DataKey[0]) { case "StyleID": e.Row.EditorID = "edColumnST"; break; case "DataSourceID": e.Row.EditorID = "edColumnDS"; break; case "Formula": e.Row.EditorID = "edColumnF"; break; } }
protected void PropGrid_RowDataBound(object sender, PXGridRowEventArgs e) { //CustomizationManager.PropertyGridRowDataBound(sender, e); RowControlProperty prop = (RowControlProperty)e.Row.DataItem; prop.OnDataBound(e.Row); if (prop.IsGroupHeader) { e.Row.Style.CssClass += prop.Offset < 0 ? "PropHeader" : "PropHeader" + prop.Offset; } if (prop.IsHidden) { e.Row.Visible = false; } if (prop.Offset > 0) { e.Row.Cells["Name"].Style.CssClass = "PropOffset" + prop.Offset; } }
protected void MatrixMatrix_RowDataBound(object sender, PXGridRowEventArgs e) { InventoryMatrixEntry.CreateItemsPage_RowDataBound(e.Row); }