Godot RichTextLabel BBCODE Table and List support - godot

I am learning Godot. I am attempting to use bbcode tables and lists inside the RichTextLabel type. It doesn't appear to work. Am I doing something wrong, or are tables not supported?
I have tried multiple variant ways to define lists, but none of them seem to work. the [list] and [table] types do not appear in the godot documentation.

Tables are supported, but there isn't a list tag. You can see the supported tags at BBCode in RichTextLabel.
The tables are not like HTML tables. You need to specify the number of columns and then add cells. There is no "tr" or "td". For example:
[table=2][cell][img=16]res://icon.png[/img][/cell][cell]Hello World[/cell][/table]

Related

PXDBIntList or PXDBStringList - where condition?

Trying to build a drop down list from a table, but only need rows that match a specific criteria.
Is it possible to limit the values that go into a PXDBIntList or PXDBStringList attribute, much like applying a where condition?
Or, would I be better off switching to something like a control with a selector?
Use a drop-down list to display a list of constants.
Use a selector to display records coming from a DAC.
If you need to manipulate the content of a drop-down list you can use PXStringListAttribute.SetList or PXIntListAttribute.SetList methods.
Based on your question, you should use a selector control with a where clause. This is a common pattern across the platform.
Example of workgroup selector filtered by logged in user:
[PXSelector(typeof(Search<TM.EPCompanyTree.workGroupID,
Where<TM.EPCompanyTree.workGroupID, TM.Owned<Current<AccessInfo.userID>>>>)))]

Electron/Node.js treeview with more than one column

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 :)

Hierarchy Visualization in Spotfire

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.

ReportExport duplicates a row when exporting to Excel (not to other formats)

I am using tablix and group my entries by one of the properties. I have some trouble with SSRS when exporting my report to Excel. The very first row of each group is added to the end of its group.
This only(!) happens when exporting the report to Excel, exporting to any other format will leave my table the way it should be:
Thank you for your help!
I see that this is an old question but I have the same problem and I've been able to solve it just changing the Visibility property of the different tablix components.
In my case I have this.
Row Visibility: "Hide" and also set "Can be toogle by" with the parent group.
Group Visibility: "Show".
Each textbox of the detail row Visibility: "Show".
It looks like it is not removing dupes for you in the grouping that repeat. Are you doing a regular grouping with property or a function? There are two solutions for this:
Ensure your dataset is having distinct values (even if you think you are certain). If this is standard 'select' statement to a SQL Server just add Select 'Distinct' and your values.
I would try maybe making the properties in the table that are in the lowest level, shown as '[Details]' generally in the design section under 'Row Groups'. Change the properties to be something like:
[Max(propertyb)] and [Max(propertyc)]
This is not needed generally as the grouping should be taking care of this. But in cases where it is not it is an extra level of logic may fix the issue. You also need to be aware depending on your grouping logic that if it is not grouping properly you may get the same result for that many rows. This would not be as advised as it is more of a hack to get what you want, not an elegant solution.

SharePoint list.items.GetDataTable column names not match field names

I am binding an SPGridView to a SPList. As code samples suggest, I am using the following code to create a dataview based on the list.
dim data as DataView = myList.Items.GetDataTable.DefaultView
grid.DataSource = data
etc...
What I am finding is that the column names in the resulting dataview do not always match the source fields defined in the SPList. For example I have columns named
Description
ReportItem
ReportStatus
these show up in the resulting dataview with column names like
ReportType0
ReportStatus1
This leads me to think that I have duplicate field names defined, but that does not seem to be the case.
Seems like I am missing something fundamental here?
Thanks.
The GetDataTable method is returning the internalName (or staticName -- I can't remember for sure which but they are frequently the same) representation of the columns, rather than the Title representation, which is what you see in the Web interface. I believe GetDataTable does a CAML query under the covers, and you have to use that internalName for field references in CAML.
This blog talks about it in a little more detail.
So I posted about this on my blog, but I wrote a little utility method that you can use, right after you get the data table it basically remaps the column names in the DataTable to their friendly names.
DataTable table = list.GetItems(list.DefaultView).GetDataTable();
foreach(DataColumn column in table.Columns)
{
column.ColumnName = list.Fields.GetFieldByInternalName(column.ColumnName).Title;
}
Hope that helps!
What you also could do (if you´re using .NET 3.5) is to use an anonymous type and bind against that. If you´re doing this you might wanna go with a Linq DataSource as well.
I have made a post that explains this here.

Resources