I'm looking for a way to build a multi column listview or treeview that works similar to the OSX file explorer, except for data instead of files/folders.
I need to:
have column headers (similar to the "Name", "Date Modified", etc below)
the first column to be expandable/collapsible (as the folders are)
several additional columns for data fields (ideally the user could pick which are shown and/or change the order)
I saw that Electron has dialogs, but as far as I can tell, these are meant specifically for file/folders, and not general enough for a data display use case. I also found a few treeview libraries such as js-treeview, but as far as I can tell, this is similar to only having the first column ("Name") in the case of OSX, I can only enter text fields and only have one column.
Does there exist a package that is flexible to have the similar functionality to the OSX finder window, but can be applied to a dataset without reinventing the wheel?
I searched around for a robust "treeview" JS component and did not find any which were supported or had a very rich feature set.
I've ended up using Tabulator with some customization. It's a great component and is well supported by the developer. It is more of a "listview" than a "treeview" component – though it does allow grouping and nesting of data, dragging between groups (folders) and lots of customization.
A tree view function for Tabulator will be coming in the next six months :)
Related
I am trying to investigate if it's possible to build logic into the Web Player so that is able to Create and Change Filtering Schemes using property controls in a Text Area. Currently, this functionality is limited to the Spotfire Analyst only.
At the moment, I am trying to figure out how to populate a drop-down property control as soon as the document is opened with the existing filtering schemes. Does anyone have any pointers on how to do that or if it's even possible?
This is what my end result will look like (after I get all the pieces to work together if it's even possible):
I have a requirements to create a Hierarchy Visualization in Spotfire. I search from the net but didn't get anything nearest from my requirements. It is possible to achieve this in Spotfire or there is any other option to do this chart. thanks.
Currently my Spotfire version is 7.0.
Hierarchy Visualization Sample:
there is no hierarchy visualization in Spotfire.
you can talk to your TIBCO account rep about the JSViz extension, however, which would allow you to use D3 to create one.
honestly I would suggest to look for a software that provides an org chart like Visio or draw.io. this isn't really a data visualization as much as it is a diagram.
If this is static you could probably create it using html and css, and maybe even use sparklines to add some dynamic text if you need to
There can be multiple options to visualize this in Spotfire.
However, if you intend to create as shown in image, I would suggest Text Area to do it.
First, you would need to organize data as in the format you want to show, parent and then child and then child. You would have to then make a HTML table in the text area.
Based on your parent id, you make a row with TR tag and as you keep getting child keep adding it further to the HTML as TR. Values you can use calculated values to show or document properties to simply display. You would need to play with HTML in this case.
The above description that I am giving is to be entirely performed in IronPython. Only thing tricky here is calculated values which you will have to put in HTMl. Instead of creating a dynamic element I would suggest giving Dynamic value in HTMl itself using document properties.
The question pretty much says it I guess. For detailed information:
I have a range of cells (F3:F2000) in which there can be names filled in. I want to be able to count the amount of times, a name has been mentioned. I am doing this with =COUNTIF(...), which is not the problem and works perfectly fine. But I want to be able to have a cell with a dropdown menu in which you can choose from all names mentioned in F3:F2000. My approach so far is to create a dynamic list, and then use this for the dropdown menu. But obviously it just uses all the entries and therefore I get a bunch of the same names. So how do I remove the duplicates? I assume this has to be done in the dynamic list.
Here is my formula for the dynamic list:
=OFFSET(Logbook!$F$3:$F$2000,0,0,COUNTA(Logbook!$F$3:$F$2000)+1,1)
And for those stuck with german excel like me :(, the german version:
=BEREICH.VERSCHIEBEN(Logbook!$F$3:$F$2000;0;0;ANZAHL2(Logbook!$F$3:$F$2000)+1;1)
Take a look at this posting, I think it answers your question.
http://www.get-digital-help.com/2009/05/25/create-a-drop-down-list-containing-only-unique-distinct-alphabetically-sorted-text-values-using-excel-array-formula
In short:
I'm trying to filter an XSLTListViewWebPart based on what is selected in another XSLTListViewWebPart. Using a String field as connection this is working fine. Using a hyperlink field no data is displayed.
In more detail:
I have two lists, say Accounts and Projects. Both have a hyperlink field accountURL.
All accounts have different accountURLs. Different projects can have the same value for accountURL. Both are displayed on a page using the XSLTListViewWebPart.
The simple goal is to filter the Projects list based on which item is selected in the Accounts list using the accountURL field. So I established a web part connection using the acountURL as a filter. Alas, when an item in the Accounts list is selected no items are showwn in the Projects list although I double checked that there are matching values.
When using a string field instead of a hyperlink field for accountURL everything works like a charm. Problem is, I need the hyperlink field.
Is this desired behaviour? Do you have any suggestions for a workaround?
(I already tried converting the hyperlink field to a string field via a calculated column which did not work out either.)
All was and is to be done in the web interface or SP-Designer. Coding a WSP is not an option for this problem. As I'm not quite familiar with the correct terminus technicus I use field and column interchangeably.
All help is greatly appreciated.
Ben
Someone on the Microsoft forum suggested the following workaround which does its job well:
Add a hidden text column to both lists.
Use a workflow which is triggered on item creation and update to copy the value of the hyperlink column to the hidden text column.
Connect both webparts using the hidden column as filter.
Nonetheless, I still wonder whether it is possible to use hyperlink columns or other special columns for filtering. I also had the problem that I cannot use a person column as lookup.
Does anyone know if whether there ist some kind of overview
which column types can be used for filtering/formulas/lookup/...?
Cheers,
Ben
I am retrieving a list of values from a sharepoint list, which works well but my problem is that it only retrieves the first 100 records. there are currently 500 records that should be available.
Scenario: I have two comboboxes on an infopath form:
A List of Locations
A list of areas within the locations
the list of locations will filter the list of areas but as infopath seems to only retrieve the first 100 records so most of the locations do not show any areas as there is nothing to filter.
By design, the query will only return the first page of results from the default view for the list. Change the item limit for the default view in SharePoint, and you'll change the returned values for InfoPath.
EDIT (links from my comments, here for greater readability):
Here are sources describing this fix in MSDN forum (scroll to the bottom), a blog comment that describes the SharePoint setting step-by-step, one with a screen cap of the somewhat counter-intuitive interface, and another describing performance implications on the server side.
Hope this helps.
Just documenting what I have discovered trying to resolve the problem. I have not been able to change the default view as yet as I dont have the permission to. That should change though.
One possible workaround I have found is that you can export the list to Excel which contains all the data that I was looking for. the file that sharepoint produces is an Excel Query file like "export.iqy". You can save and open the file in notepad. which will look something like the following
WEB
1
http://SharepointSite/_vti_bin/owssvr.dll?XMLDATA=1&List={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}&View={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}&RowLimit=0&RootFolder=%2fLists%2fSharepoint%20Sites
Selection={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}-{8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}
EditWebPage=
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False
SharePointApplication=http://SharepointSite/_vti_bin
SharePointListView={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}
SharePointListName={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}
RootFolder=/Lists/My list
You can take the third line which is -
http://SharepointSite/_vti_bin/owssvr.dll?XMLDATA=1&List={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}&View={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}&RowLimit=0&RootFolder=%2fLists%2fSharepoint%20Sites
And use that to retrieve the complete list. I added an new receive data connection, selected an xml document and added the above URL.
It is not formated particullary nice but it will return all the data that I was expecting.
I think that Argalatyr solution is much simpler at this point, but it depends on if i am able to get the default view changed.
there is yet one workaround of this without such hardcoding. If you open Query editor, then you have there available ribbon with menu items. Open "Home" -> "Select top rows" and enter there some realy high number (I have in my list 596 rows, so I entered there as limit of top rows 20000 and I got whole list).
Sorry, I don't have available English version of Excel, so I cannot add screenshots.
enter image description here