Disable tab click on some editors in table - tabulator

Would it be possible to disable "Tab" events on specific columns.
My current table has 4 input, 1 of which is a dropdown for status and the rest are text fields.
The scenario is that the users are inputting data on the text fields but they don't want the dropdown to open up on the next row and just proceed on the next text field.

If the values are static, you could use a custom editor to do your work.
Working Demo: https://codesandbox.io/s/disable-tab-some-editors-ud5vit?file=/src/index.js
In the demo, I used the column "Status" as a select field with three possible values. Tab won't make dropdown appear by default.
Hope it helps!

Related

Cognos Dynamic Filtering

I searched all over the internet but couldnt find an answer.
I want to create
1. a radio button with two options A, B (which are supposedly two columns in the database with "date" datatype) and
2. a date prompt
Now if the user selects option A with a date range(in the date prompt) the data should be filtered on A
if the user selects option B with a date range(in the date prompt) the data should be filtered on B
Your question is far from clear, but if I understand you want to use the radio button to determine which date column to use in a filter? If so, then something like this should work:
if (?RadioButtonPrompt? = 'A') then ([DateColumnA] = ?DatePrompt?)
else ([DateColumnB] = ?DatePrompt?)
If I get this straight:
1. You first want to create a Radio Button:Value Prompt with values from DB
2. Then you want to filter another Prompt based on selection of the Radio button Prompt. (You can do this by what Andrew has suggested)
To create a Radio button prompt, Drag a Value prompt > Select Radio Button Group (under Select UI) > Select Query > Select Use Value and Display Value
My guess is that you are having trouble creating Query which will just give you a single row with two date columns...
Hope that helps....

Excel pivot table search filter with and / or

I am trying to filter a field in a pivot table so that it only shows some values.
I have a field which is product code and I want to only show the product codes that are H01, P07, F04, L43, ... and the list continues. For the moment, I have to click the little arrow next to the field, do a search on the code and then click on the checkbox add current filter to selection and hit ok. I have to do this 20 times for the 20 different product codes.
Is there a way to enter in the search box immediately H01, P07, F04, L43, ... just once and then hit ok and I ll see all the product codes immediately?
Thanks,
John.
You can loop through pivot items and select the ones that match your criteria using VBA as suggested here:
Looping through report filters to change visibility doesn't work
The only issue I've had with this sort of approach is that you cannot deselect the only selected item, so if you are going to be deselecting then you should make sure to select particular items as well.

Multi option custom MsgBox popup window

I am not sure if this is even doable in Macro (VBA). The issue is, if a user enter a value in specific cell (lets say A2). I need to trigger a popup window (similar to MsgBox function) with several option for the user to select in the popup (either a drop down list or Radio buttons). The values in the drop down list or Radio buttons can be populated in the code. I need to let the user select the option "value" from the list and then can click OK or Cancel. The value that the user selected would be display in the same cell. I checked online and it seems like there are very small selections for the MsgBox function. Can this be done??
Thanks,
Your best option would be to use Data Validation to make a drop-down list.
If you go to Data-Data Validation-Allow-List you can create a drop-down list of all values you want. Store all of the values you want in the drop-down list on another sheet and just set it as the Source.
Any other issues let me know.

Adding a section on a form in CRM 2011

I have a form in CRM 2011 with a tab split into 2 columns. On this tab, I want to add a section that spans across both columns of the tab (the entire width of the form). When I insert a section on the tab, it just adds the new section to the left column of the tab and I am unable to get it to span across the other column. Does anyone know of a way to achieve this?
Thanks in advance!
Insert a one column tab. Drag a field to one of the 2 columns inside the tab. Click on the field, then on Change Properties in the ribbon on the top of the page. Select the formatting tab and then choose 2 columns.
I have fixed this issue by adding a new one-column tab without showing the tab name below the existing tab and adding a one-column section within that tab. So this now ends up looking like another field within the same tab since the new tab doesnt have a name displayed. Thanks for your help Jason Lattimer!

Dynamic Layouts in Filemaker

First off I am new to FM but I have a good handle on the basics. What I need to do is this - in a contact information type layout I want to be able to alter the layout based on a specific field. Ex. When the record is brought up, the background of the layout will change colors for a client, another for vendor, etc.
I tried to change a label based on a field, with no success. My guess is that the layout is static and only the data fields change.
We use FM Pro.
Thanks,
Mark
FileMaker layouts are static, but there are still some things you can do to alter the layout based on the values of fields:
Calculation Fields
If you want the data shown in an area to change, you can use a Calculation field. A typical example of this would be a status field. To do this you would add a new field to your table and use enter a calculation on that field like:
Case (
IsEmpty(myTable::myField) ; "Please enter a value for myField." ;
myTable::myField = "wrong value" ; "Please enter a correct value for myField." ;
"Everything seems okay."
)
Conditional Formatting
To make things like background color change you can use a conditionally formatted field. I will typically add an empty numeric field (for this example we'll call it emptyField) and set it so that it can't be edited during modification.
If you place emptyField on your layout, below all the other fields and disallow the user to enter the field in either Browse or Find mode, you can then use conditional formatting to change the field's color.
Portal Hiding
You can use this technique when you want some elements of your UI to disappear when they aren't needed. For example, if you want a "submit" button to appear only when all of the records on a field are filled out.
To use this technique I will usually create a Calculated number field, called ReadyForSubmit, on the original table and give it a logical calculation like:
not IsEmpty(field1) and ... and not IsEmpty(fieldN)
(Note that the value of the above function would be 1 or 0)
I will then create a new Support table in my database and add to it a field One with a calculated value set to 1.
I will then make a relationship between myTable::readyForSubmit and Support::One.
On the layout, create a portal with one row. Put your Submit button in that layout. Now, when readyForSubmit calculates to 1 the button will appear. When it calculates to 0 the button will be hidden.
Hidden Tab Browser
Finally, you can use a tab browser where you set the title font size to 1 point, hide the border, and control the browser programmatically. You can use this for having different field arrangements for different types of records. To do this you would first give an Object name to each tab of the tab browser, say Tab1, Tab2, Tab3.
Then you would add a script, goToTab, with the logic for when you want to go to each tab. Say:
If (myTable::myField = "corn")
Go to Object (Tab1)
Else If (myTable::myField = "squash")
Go To Object (Tab2)
End If
You would then use Script Triggers to run goToTab when On Record Load.
With the release of filemaker 13 there may be another way to do this. You could use a slide control, name the panels in the control, and conditionally switch to the correct panel based on the record type.
you would drop the appropriate fields for the record type in each panel.
http://help.filemaker.com/app/answers/detail/a_id/12012/~/using-slide-controls-and-slide-panels-in-filemaker-pro

Resources