Can we use "Drop-down" instead of "Column Groups" in Tabulator - html

I would like to replace "Column Groups" in tabulator with Drop-down, please let me know if it is possible.
Eg: the screen-shot Sample Column Groups shows "Progress" "Rating" "Driver" under Column Group, but I would like to replace those headers with "drop-down" and make "Progress" as Default.

Related

How to allow check box to work in SharePoint without being in 'edit in grid view'?

I have a tracking sheet that I manage and I would like the ability to make the check box, which represents that a job has been completed, to be able to be checked (Yes/No Check box) without having to enter 'Edit in grid view'. Is this possible on the back end of SharePoint or through json?
I've looked at the settings in the SharePoint list and the column properties. Quick Edit is activated but it isn't doing what I hoped.
Based on your description, I understand that you want to fill in the checkbox column, but not in the "Edit in grid view".
If you want to edit items in the SharePoint list, you could through "Edit in grid view", "Edit item properties" and flows.
You could edit items by using " Update item" action when a job has been completed.
Yes. It is possible to edit the Yes/No column in SharePoint list view without using grid view.
You have to apply JSON column formatting for your Yes/No column. Use JSON like:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"inlineEditField": "[$Completed]",
"txtContent": "=if([$Completed], 'Yes', 'No')"
}
Where [$Completed] is the internal name of your column.
Output: When you click on column cell, it will open column in edit mode:
Documentation:
SharePoint JSON column formatting
JSON formatting inlineEditField

Canvas app with SharePoint Data Source - Filter gallery on multi choice combobox

I have created a canvas app with SharePoint as data source. This is just a test list that I have created:
SharePoint List
In the list I have two columns - Title and Choice Column (This column is a multi choice column in SharePoint).
In my application I have created a gallery to display the records that I have created and one combo box field, which is taking the choices for the column in SharePoint:
Canvas Application
I have created the following filter for my gallery, so I can filter the gallery based on my combo box selection:
Filter('Test List', IsBlank(ComboBox1.SelectedItems)|| IsEmpty(ComboBox1.SelectedItems)|| ComboBox1.Selected.Value in 'Choice Column'.Value)
The filter is working correctly, if you choose only one value from the combo box field:
Filtered Gallery
The combo box items are displayed as follows:
Choices('Test List'.'Choice Column')
I would like to filter the gallery as follows:
If I choose "Choice 1", I would like to see all of the items where I have "Choice 1" selected. If I choose "Choice 1" and "Choice 2", I would like to see the records where I have "Choice 1" or "Choice 2" or both.
At the moment, when you select only "Choice 1", the filter is working. When you add "Choice 2", it is showing only the results, where I have "Choice 2".
I have tried many things like:
Filter('Test List', IsBlank(ComboBox1.SelectedItems)|| IsEmpty(ComboBox1.SelectedItems)|| Concat(ComboBox1.SelectedItems.Value, Value & " ") in Concat('Choice Column'.Value, Value & " "))
But this is not helping me, since it will look for an exact match: for example: If I choose "Choice 1" and "Choice 2", it will return the records where I have exactly "Choice 1", followed by "Choice 2":
Filter results
I have tried using the following filter as well:
ForAll(ComboBox1.SelectedItems.Value, Filter('Test List', Value in 'Choice Column'.Value))
But this is breaking the Gallery:
Gallery errors
In addition, I have tried the following:
Filter('Test List', IsBlank(ComboBox1.SelectedItems)|| IsEmpty(ComboBox1.SelectedItems)|| ComboBox1.SelectedItems in 'Choice Column')
But it is resulting in an error:
Error in Filter
Does somebody have an idea how the gallery can be filtered on multi choice field in SharePoint? Thank you in advance!

displaying results in column based on code in other column

hello, i have a table with three columns (TEL, MOBILE, EMAIL) after the column "Contact Type". I'm trying to figure out how to show/hide the results in the 3 columns based on the code that is in the Contact Type field.
for example if the contact type = MBL then the results would only show in the column labelled Mobile,
if the code in contact type was "TEL" then only results would only display in the column labelled TEL.
the other two columns would remain blank. the code for the last column is EML.
can this be done as an expression?
thanks in advance for the help
regards
You can use an expression in each of the three columns. For example in the "Tel" column would be something like this.
=IIF(Fields!ContactType.Value = "TEL", Fields!Tel.Value, "")
You'll just need to replace the text string and field names in each column as required.

SSRS doesn't color the cell when no data (IsNothing)

I cannot fill the cell's background color in SSRS when there is no data in that cell.
(Please, see the link to the screenshot below).
My stored procedure returns three columns:
"Month Year";
"Contact Type";
"Contact count".
I use column groups to show "Month Year" as a column. And row groups to show "Contact Type" as a row.
I want to fill back color of the row to Grey when "Contact Type" = "Total number of contacts".
I use expression:
=IIf(InStr(Fields!ContactType.Value,"Total") > 0, "LightGrey", "Transparent")
But the problem is that when there was no activity in this month, the cell gets no value (=IsNothing). In this case I replaced it with zero.
But the cell with zero stays "Transparent".
I understand that this is because there is no value for ContactType field as well.
But is there any tricky workaround?
This is the screenshot how my report looks like
Please help me to color cells with no data!
I think it's because you just have the (strictly superior) instead of (equal to or superior than 0)
try the use of this expression:
=IIf(InStr(Fields!ContactType.Value,"Total") **>=** 0, "LightGrey", "Transparent")
instead of:
=IIf(InStr(Fields!ContactType.Value,"Total") > 0, "LightGrey", "Transparent")
That's right, you cannot check the value of something that does not exist. And if the ContactType for September does not exist in the query result, there is nothing you can do in SSRS with this.

Hide Column based up Parameter Selected SSRS

I would like to set the visibility of columns based upon the value selected in a parameter.
The problem is I do not want a specific parameter to do this (i.e Hide column X True/False)
My report has several different "departments" who are only interested in certain columns.
What would be the syntax for example to hide the "Sales" column when the "Customer Care" parameter is set?
you can do these works step by step:
1- press right click of your mouse in your favorite column
2- select column visibility
3- from opened window select "Show or hide based on an expression" radio button
4- set an expression for hidden state. for example:
=IIF(Parameters!CustomerCare.Value <> "favorite value", true,false)