How to disable Auto Suggestion for Inventory ID field - acumatica

I would like to disable the auto suggestion for Inventory ID field in Materials screen. See this screenshot:

Add AutoComplete="False" property to the editor control (row template):
<px:PXSegmentMask runat="server" ID="edInventoryID" DataField="InventoryID" CommitChanges="True"
AutoComplete="False" />
I tested the property successfully on InventoryID field row template control (PXSegmentMask) in the Transactions tab/grid of the Sales Order screen.

Related

How to get editing text box to expand to fit size of string field

I've noticed that in the Employee Time Cards screen (EP305000) in the details tab, there is a field called 'Summary' (In the DAC it's 'Subject') - and when you double click to edit the field, the edit area expands to show the entire text to be edited.
I have a custom screen with a grid, and this grid has text fields which I would like to have the same property as the Employee Time Card 'Subject' field (as described above), namely that when you enter the field to edit, it expands to show the entire text.
I've looked at the source DAC for the grid in EP305000, and I don't see anything that jumps out at me as an attribute on the 'Subject' field for that sort of thing.
Any help would be appreciated.
Added a RowTemplate to the Grid area for the two fields I wanted to make expanded, as follows:
<RowTemplate>
<px:PXTextEdit ID="PXTextEdit1" runat="server" DataField="TodoDescription"/>
<px:PXTextEdit ID="PXTextEdit2" runat="server" DataField="Comments"/>
</RowTemplate>
This did the trick. Thanks to HB_ACUMATICA for the answer.

Additional fields searchable in Acumatica report parameter selector (similar to FastFilterFields on page selector)

We have a custom table and use a selector on the key field of this table on various pages. In the selector we need the ability to also search on other fields so we set the page entry for PXSelector to include FastFilterFields as shown in this example:
<px:PXSelector ID="edMyCustomField" runat="server" AutoRefresh="True"
DataField="MyCustomField" DataSourceID="ds" CommitChanges="True">
<GridProperties FastFilterFields="InventoryID,InventoryItem__Descr">
<Layout ColumnsMenu="False" />
</GridProperties>
</px:PXSelector>
This works great on our pages. In the example above, entries into the selector search box will return rows with matching values from the MyCustomField, Inventory ID, InventoryItem.Descr fields.
Now the issue/question…
We want the same search/FastFilterFields functionality for our reports on our report parameter selectors. Currently the selector only allows the search on the field tied to the selector (one searchable field).
How do we enable our report selectors to use additional searchable fields the same as our custom pages?
From what I have found it is not possible for searching beyond the standard 2 fields in a selector used on a report. By default the only searchable fields are the field being selected and the description field defined as the description field in the select attribute.

Add tool tip to column headers

Is there any way in acumatica to add a tool tip for a grid column header? I tried adding the tool tip property for the rowtemplate as it is not available for gridcolumn, but doesn't help.
<RowTemplate>
<px:PXDropDown ID="edDocType" runat="server" DataField="DocType" CommitChanges="True" ToolTip="test">
</px:PXDropDown>
</RowTemplate>
The above code works when the grid is in Form View, but how to give it for a column header?
The easiest way to get this is to go to Customization open your grid's column go to Properties turn off Filter find section Header open it and set Tooltip like as in the screen:
As the result you will get such Tooltip for Grids Column

Option to hide columns completely on an extnet GridPanel

I was using this based on a condition
GridPanelName.ColumnModel.SetHidden([ColumnIndex], true)
while I was working on something else, I noticed that when I click on the sorting menu arrow on a column header, under the columns I can put a tick next to the "hidden" column and it becomes visible again.
Is there a way for not showing columns except hidden, someway a curious user can not walk around ?
Try this on client side:
<ext:Column ID="ColumnID" runat="server" Text="ID" DataIndex="ID" Width="100" Visible="false" />

SharePointWebControls:BooleanField - text inside checkbox

I'm trying to brand a sharepoint site, and in edit mode I got several checkboxes. In some of the checkboxes I want to display text, how?
ex:
<SharePointWebControls:BooleanField ID="Comments" runat="server" FieldName="Comments" />
Text I want to insert into the checkbox "this is a comment"
I've tried
<SharePointWebControls:BooleanField ID="Comments" runat="server" FieldName="Comments" />this is a comment</SharePointWebControls:BooleanField>
You might consider creating a content type for your page layout. This content type can have a field named "Comments" and with a custom display name.

Resources