Exemplo n.º 1
0
 protected void gridProps_RowDataBound(object sender, PXGridRowEventArgs e)
 {
     if ((string)e.Row.DataKey.Value == "Expression")
     {
         e.Row.EditorID = "edFormula";
     }
 }
Exemplo n.º 2
0
	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;
		}
	}
Exemplo n.º 3
0
    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;
        }
    }
Exemplo n.º 4
0
    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;
        }
    }
Exemplo n.º 5
0
 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;
         }
     }
 }
Exemplo n.º 6
0
    /// <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;
        }
    }
Exemplo n.º 7
0
    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;
        }
    }
Exemplo n.º 8
0
	/// <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;
		}
	}
Exemplo n.º 9
0
 protected void MatrixMatrix_RowDataBound(object sender, PXGridRowEventArgs e)
 {
     InventoryMatrixEntry.CreateItemsPage_RowDataBound(e.Row);
 }