Is it possible to set unique style to each column header in vaadin's table?
There's method setCellStyleGenerator which works only for the contents - not for the headers.
No; as far as I am aware, this is not currently possible.
Do feel free to submit a Feature Request : https://vaadin.com/bug
Related
I have a report that I developed that utilizes render variables as described here - http://www.ibm.com/developerworks/data/library/cognos/reporting/dynamic_report_design/page570.html
The report for some reason still renders the column header without the data below when its exported to Excel. If I view in HTML, it renders appropriately but the HTML includes every single column header.
What am i doing wrong?
Check "Making the Query Items Dynamic" #4 from that document. Looks like you miss it
When you are applying the Render Variable, make sure you are selecting the 'List Column' not the 'List Column Body'. Look into the attached screenshot to see how to select the complete List Column when applying the Render Variable.
I'm not sure why this technique wouldn't work when exported but as a workaround, you could try applying the render variable independently to the column and its header.
how can I check if something is selected there? I need at least 'fact': selected or not (and would be nice to know how to read real settings).
I looked into NotesViewColumn and did not find anything there, maybe it's undocumented feature :(
You can use DXL. The DXL schema for view columns includes an attribute that represents the selected option for the totals.
I.e. set up a NotesNoteCollection object that includes the view design note. Use NotesSession.CreateDXLExporter to get a NotesDXLExporter and process the NotesNoteCollection, parsing the XML to locate the column and get the value for the totals attribute.
I recently attended the "Access Data from XPages with the Relational Controls" webinar hosted by Teamstudio and presented by TLCC. It was a very informative class and one topic covered was about enabling a column to be sortable in ASC/DESC order by simply clicking the column header.
Well, in a project I am currently working on we do have a DB2 backend where the viewPanel data uses a jdbcQuery with the sqlQuery parameter. I thought this was possible when starting the project and could never get it to work, then after seeing it discussed during the webinar figured I would give it another attempt.
Here are the All Properties for my viewPanel:
Here are the All Properties for the column I wish to sort:
Previewed in IE with column Unsorted
Previewed in IE with column sorted ASC
Problem
Clicking on the column heading sorts the column in ASC order, but on subsequent clicks doesn't sort in DESC or reset the sort.
Question
Is there something I am missing to make this work or was this issue fixed in a version after 8.5.3?
System
IBM Notes Designer: 8.5.3FP3
OS: Windows/Longhorn/64 6.2
Server Build: Release 8.5.3FP6
Try taking out the scope on your data (you have request).
I'm working on a report in Cognos 10 which is only composed by a list. When I export to Excel and print the report, it breaks a row of the list through pages.
I've already modified the pagination properties of the list with any result..
So, my question is, is there any way to avoid the row break through pages?
Also I would like to ask if somebody know a way to set a header and footers that appears in all pages.
Thanks in advance.
please see this IBM doc: http://www-01.ibm.com/support/docview.wss?uid=swg21419957
You can have your administrator change a parameter which will enable a single sheet export.
Just setting the "Rows per page" property of the list to a maximum value should work.
In case of List, set the Rows Per Page property to blank.
To enable the page header, go to List Headers & Footers and enable the List Page Header.
I've added a lookup field to a document library, and it is possible to choose values as expected in "Edit properties" for a single document. However, when in Edit in Datasheet mode all of the dropdowns for the lookup field are EMPTY!!!! Is this just the way it is, or have I done something wrong?
Has anyone managed to get lookup fields to work in Edit in Datasheet mode?
Required lookup fields do not show up in datasheet view. You need to make the lookup field optional.
I had the same problem with my fields defined as site columns. After opening and saving column definition in list, datasheet started to work perfectly...