Guilherme Mendes · Jul 20, 2021 go to post

Why do you ask?

Because I use Caché at the company I work, and I want to install IRIS on my personal laptop to practice both and learn.

Do you have specific functionality that you are concerned about?

No, I do not have.

Guilherme Mendes · Oct 22, 2021 go to post

Hi!

I don't know how to change the font colour directly (of that data), but...

You can use OnDrawCell and inside the method get the data and set the style.

Method MyMethod(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) As %Status{    If (pName="colName") {        Set cellData = %query("colName"),            myColor = "red"        &html<            <div style="color:#(myColor)#">            <!-- You can write something, for example: if cellData is a number (of minutes) you could do what's below. -->                #(cellData)# minutes            </div>        >    }    Return $$$OK}

If you do this, that column will not order anymore

Guilherme Mendes · Oct 27, 2021 go to post

I have not understood what you want, could you give me more details?

If you have OnCreateResultSet, you may try to use a SQL Function to return what you want if I understood correctly.

Guilherme Mendes · Jul 8, 2022 go to post

This may help. I got in /csp/docbook.

Note the use of colspan in the <td> and <th> definitions. <td> and <th> support colspan and rowspan
attributes. Each attribute accepts a number as a value and causes the content of its parent <td> or <th> to span that number of columns or rows in the header or footer. Each produces output similar to the HTML attributes of the same name, but do so equally well for XHTML or PDF output formats.

Guilherme Mendes · Mar 25, 2024 go to post

Hi!

Set stream = ##class(%Stream.FileBinary).%New()
Set sc = stream.LinkToFile("C:/Temp/myfile.pdf")
While 'stream.AtEnd {
    Do pOutput.Write(stream.Read())}