Exclude database ID from DataTables search functionality - search

In a DataTables table, one column contains cells with content of the format:
Searchable and visible name
Only the text between the tags is visible to the user, and I would like only this text to be exposed to the search functionality of DataTables. As it is now everything is searchable, including "href", "a", "<", "26", and so on. How can I fix this?

This seems to be a bug in DataTables 1.9.4
http://www.datatables.net/forums/discussion/14530/search-filtering-on-content#Item_2

Related

How to make semantic search dropdown to search in hidden content as well?

Is there a way to search from a hidden text as well? I want to search from not only dropdown item text but another hidden text content as well. I know that semantic search dropdown is normally searched in the data-value field as well. But in my case data-value is just an ID. I want to add another field to search as well.

Tabulator | Filterbox

Tabulator offers a wide range of options to programmatically filter data, however I could not find a way to render on the page the dropdown and textbox used to actually filter data on the table.
It seems the only option that render a filter element on the Table is: headerFilter.
It looks weird that I have to create dropdown and searchbox myself?
Here is the link to their page dealing with Filters: http://tabulator.info/docs/4.1/filter
Please advise, thank you
You can use any of tabulators Editors as header filters
The Examples Page contains a fully working example of a table with a selection of header filters including text boxes and select elements
in the column definition you just have to use the headerFilter property, in this case we also use the headerFilterParams option to make the select element populate from the names in the column:
{title:"Name", field:"name" headerFilter:"select", headerFilterParams:{values:true}}
or for a simple input element
{title:"Name", field:"name" headerFilter:"input"}

Xpages control for displaying multi-value field in table form

I have a location form that has a field called Employees that is multi-value (obviously contains list of employees.
In the Location XPages I want to display the list of employees in a table form like so
FirstLast1 FirstLast2 FirstLast3
FirstLast4 FirstLast5 FirstLast6
FirstLast7 FirstLast8 etc.
I have looked at a DataTable, Repeat, etc. but nothing seems to work right. I could use a computed field with HTML but that seems like too much work.
Any suggestions would be greatly appreciated.

Collapsing remaining categorised columns in a filtered view

I have a view with 4 categorised columns and the first category is the person's name.
I have created a viewPanel and I would like to filter the view so that it only shows the current user's records. The category filter works as expected but all the categorised columns display as expanded. So I added expandLevel="1" and all the documents disappear.
Is there a way to collapse all categorised columns in a filtered view?
I have since tried setting expandLevel to "1", "2", "3" and "4". The documents disappear until it is set to "4" and the it just displays the 3 categorised columns in expanded mode anyway.
Firstly, with a typical scenario this should work! Category filtering and the property 'expandLevel' set to 1 should work for you. You should see all the categorized columns collapsed for that categoryFilter and the parent documents associated with that last subcategory.
If your data contains response documents, these will not display. Though setting 'indentResponses=true' on the column in the viewPanel will get them to display for you.
This is a bug in the viewpanel. You can :
Create your own viewpanel using repeat controls
Use a grid container like this one or this one

Filterable SPFIeldUrl in default view

I`v added a hyperlink (SPFieldUrl class) column (field) with GUI to my list.
Pity, but I cannot filter those values when viewing the list.
alt text http://img5.imageshack.us/img5/5126/ss20090505152613.png
(It reads that you cannot filter this column type)
Is there any way to have it easy filterable with clicking on columns besides creating a custom view?
Thank you.
Depending on how you are using the url, you may be able to do something with calculated columns.
Another option is to use a text field rather than a url field - The url field type is effectively a combination of two fields, so you may be able to get what you are looking for by creating those two field seperately.

Resources