spotfire summary table color - color-scheme

In Spotfire 6.5.2, is it possible to color a column heading in a summary table? I know how to color values in a regular table but can't find a way to do so in a summary table.
Thank you,
Chris

I do not see such option available without any customizations.

Related

How can I change the styling dynamically for an entire row in React-Virtualized?

My React-Virtualized Table receives data from the back-end.
I am comparing the data for similarities, the rows which have the most similarities should change their background to 'green' for example.
How can I achieve this?
I know how to style the table, table columns or single table cells.
But how can I change/ address the styling for an entire row?
Maybe with RowRenderer?
Thank you in advance!

previous row value in data table in Spotfire

This is super easy in excel.. Couldn't find it this in Spotfire easily.. Quick help would be appreciated.
Question:
In the calculated column, I like to add previous row data.
For example, in attached sheet calculated column "Previous CODE". I like add data of Column "CODE" from previous row.
Please let me know incase something is unclear.
you can achieve this with a calculated column having the expression:
First([CODE]) OVER Previous([EVENT_DATE])

Ordinal of a new column in snowflake table

I am trying to add a new column to an existing Table in snowflake, how to specify where to add the column. I tried the below query,
ALTER TABLE MY_DB.MY_SCHEMA.MY_TABLE
ADD COLUMN MY_NEW_COLUMN NUMBER(38,0) AFTER MY_OLD_COLUMN1;
AFTER keyword doesn't works with Snowflake. Any suggestions on this would be helpful.
Today Snowflake does not have the ability to specify the position of the added column. It is in the list of future improvements, but we don't have an ETA on this yet.
Of course there are various solutions that might help, e.g. views, but I agree we'd ideally add this ability.
Let us know if we can help with anything else.

How to make title sortable with two different tables whose data coming from same model in cakephp?

I have a view showing two tables which data is coming from same model but based on different column status I divided in 2 tables. Problem is, when I click on top table's column name heading for sorting, it also sort the bottom tables. I'm wanting the bottom table data won't sort when I click on top table column heading title. If any one have a good solution, would highly appreciated.
This highly depends on your setup, but you're going to have to do some custom code.
For example, don't allow Cake to sort for you. See what the links look like when created by Cake, then write your own, and include an additional variable &table=1 or something.
Based on the sort variable and the table variable, build your pagination options for each including the correct sort you want for each group separately.
Another option (depending on how large your data sets are) is to use javascript datatables.

Database : Design table with dynamic tags

In my table, there is a list of items, those items have some attribute that is dynamic. it means it can change through run-time, not design-time.
For example, a list of dishes. So, a dish can be a fish/dessert/drink/.... Those attributes will help my application filter it later base on user. And those attribute is inputted by manager through run-time.
So, I don't know how to design a table with dynamic attribute like this. Who has any ideas, please tell me.
Thanks :)
You could add a type column to your table.
Another approach would be to have something like a tag. Where you item has many tags.
However, more details on what you're trying to accomplish would be necessary in order to give a better answer.
Are you new to database design? you should probably look at some db design tutorials:
http://www.ntu.edu.sg/home/ehchua/programming/sql/Relational_Database_Design.html
http://www.databaseanswers.org/tutorial4_getting_started_with_db_design/index.htm
The attributes that you mentioned could be stored as data in some database table under column dishes.
And then you could relate these dishes with your users.

Resources