Skip to content

Instantly share code, notes, and snippets.

@BrianMRO
Created September 28, 2021 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrianMRO/ae4e7bb280477faa80a54c7b3bce6e46 to your computer and use it in GitHub Desktop.
Save BrianMRO/ae4e7bb280477faa80a54c7b3bce6e46 to your computer and use it in GitHub Desktop.
Related Attributes - Attributes Tab
<px:PXTabItem Text="Attributes">
<Template>
<px:PXGrid ID="PXGridAnswers" runat="server" Caption="Attributes" DataSourceID="ds" Height="150px" MatrixMode="True" Width="420px" SkinID="Attributes">
<Levels>
<px:PXGridLevel DataKeyNames="AttributeID,EntityType,EntityID" DataMember="Answers">
<RowTemplate>
<px:PXLayoutRule runat="server" ControlSize="XM" LabelsWidth="M" StartColumn="True" ></px:PXLayoutRule>
<px:PXTextEdit ID="edParameterID" runat="server" DataField="AttributeID" Enabled="False" ></px:PXTextEdit>
<px:PXTextEdit ID="edAnswerValue" runat="server" DataField="Value" ></px:PXTextEdit>
</RowTemplate>
<Columns>
<px:PXGridColumn AllowShowHide="False" DataField="AttributeID" TextField="AttributeID_description" TextAlign="Left" Width="135px" ></px:PXGridColumn>
<px:PXGridColumn DataField="isRequired" TextAlign="Center" Type="CheckBox" Width="80px" ></px:PXGridColumn>
<px:PXGridColumn DataField="Value" Width="185px" ></px:PXGridColumn>
</Columns>
</px:PXGridLevel>
</Levels>
</px:PXGrid></Template>
</px:PXTabItem>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment