How to localize the timeline in DevExpress ASPxScheduler - localization

I'am using DevExpress ASPxScheduler and I want to change the text I've pointed out to something like: [some_localized_text][1-4]
Is it possible, and how can I make it work?

Related

How to add an extra, static thumb label to an angular material slider (mat-slider)?

I'd like the users to be able to see the original value of the slider as a reference point as they select a new value.
So I'd like to add an extra thumb label (351) like this:
I know this isn't supported by the mat-slider in the documentation, but I'm wondering if there's a hacky way to do this. I'm new to angular material and not super strong in css.
Or maybe there are other component libraries/alternative implementations that would support this?
I don't know how to update/hack angular material to do this.
But I did find one slider implementation from NG-Zorro that has support for labels (or "marks" as they call them).
Other libraries that I looked at that did not support this:
https://material.angular.io/components/slider/overview
https://clarity.design/documentation/range#examples
https://www.primefaces.org/primeng/showcase/#/slider
https://ng-bootstrap.github.io/#/components
https://edcarroll.github.io/ng2-semantic-ui/#/getting-started
https://valor-software.com/ngx-bootstrap/#/documentation

Excel Hyperlink Function - Display Nice Name?

I found this formula online. It takes a cell, and handles the hyperlink, based on the excel spreadsheet being in the root folder, so the files being hyperlinked are in that directory (or sub-directory). This is the formula:
=HYPERLINK(LEFT(CELL("filename"),FIND("|",SUBSTITUTE(CELL("filename"),"\","|",LEN(CELL("filename"))-LEN(SUBSTITUTE(CELL("filename"),"\",""))))) & C2)
I would like to have it say something like "Click Here to Open" or something nice. I can certainly handle that in another cell, if that would be easier, but I'm not seeing a way to do that. Anyone know how to handle this?
We don't want the users to see D:\blah\folder\filename.pdf
It looks messy and would like something nicer.
Thanks!
Nevermind. I found it was as simple as adding
,"nicename")
OR
,A2)
to get the name I want.
Duh.

How to make title row of crosstab invisible

I have designed the following crosstab in my report:
Is there a way I can make the first (title) row invisible (the row that mentions ‘Sum of resultaat’ and ‘volgnumm’).
I have no clue how to achieve this…
You don't specify which version of ReportBuilder you are using, but I've had a look at my version here (Version 10) and the CrossTab component does appear quite limited in terms of customisation.
However, ReportBuilder is quite well structured and a quick look at the ppCTRend.pas file reveals that it should be possible to create your own custom renderer derived from TppCustomCrossTabRenderer (remembering to register the rendering class with a call to ppRegisterRenderer). Methods to look at would be AddTextToPage and DrawCells
I got word from Nard Moseley from digital-metaphors that it's impossible to do at this moment:
"There are no properties or events to control that. You could set the captions to empty string, but no way to delete the row entirely."

Primefaces3.4 DateTime Support in Line Chart

I am trying to display a datetime line chart, in a continuous style, using primefaces 3.4 which internally uses jqplot.
It should be possible, according to this:
http://code.google.com/p/primefaces/issues/detail?id=2180
however, my result is just a normal discrete chart.
Has anyone succeeded?
The primefaces author says:
Using new extender feature you can configure the chart the way you want before it is rendered on client side. Extender is simply a javascript function that is called before the plot is drawn so that you can override PrimeFaces provided attributes and add more to support any jqplot configuration option
What am I supposed to put in the extender for the timeline to work?
This was promising:
kevindoran1.blogspot.co.nz/2012/02/using-google-charts-with-jsf.html
but xmlns:ti="http://tradeintel.co.nz/custom" no longer exists (?)
btw, continuous and discrete explained =
https://developers.google.com/chart/interactive/docs/customizing_axes#Discrete_vs_Continuous
Any alternative (free) chart libs, that I can easily integrate with JSF2 ?
This kevindoran1.blogspot.co.nz/2012/02/using-google-charts-with-jsf.html was promising
but xmlns:ti="http://tradeintel.co.nz/custom" no longer exists (?)
I made it work with primefaces look at my detailed post here http://forum.primefaces.org/viewtopic.php?f=3&t=23891&p=78637#p78637
If you have any doubt don't hesitate asking me the details

RCP/RAP: Link in SWT/JFace-TableViewer-Cell

Does anyone know a possibility to place a link in a JFace-TableViewer-Cell? I just need something that fires an event, when it is clicked on. Something that looks like a hyperlink would be perfect. The (big) problem is, that it should work not only under RCP but also under RAP.
I don't know how to do this for RAP, but for RCP have a look at the answer for How to add Hyperlink in SWT Table`s column?.
Unfortunately, the graphical context is not supported with RAP (AFAIK...)...
It is very easy and can be done with something called Markup (https://www.eclipse.org/rap/developers-guide/devguide.php?topic=markup.html&version=3.23): in getText() of ColumnLabelProvider you could provide html part for example getText() result for link could look like this:
return "<a href='http://www.eclipse.org/rap' target='_blank'>RAP</a>";
Another way is to use TreeViewerColumn.setEditingSupport and override ColumnViewer class. In that way you could have your own custom control after you click on a cell (in edition mode).

Resources