Thiago,
I know just one way to use zen component inside tablepane's cells.
You can use the follow example:
Method DrawCell(pTable As %ZEN.Component.tablePane, pName As %String,
pSeed As %String) As %Status
{
Set dataCombo = ##class(%ZEN.Component.dataCombo).%New()
Set dataCombo.sql = "SELECT Field1,Field1 FROM table where Field2
%STARTSWITH ? ORDER BY Field2"
Set dataCombo.sqlLookup = "SELECT Field2 FROM table WHERE Field1
= ?"
Set dataCombo.size = 10
Set dataCombo.editable = 1
Set dataCombo.searchKeyLen = 20
Set dataCombo.comboType = "timer"
Set grupo = ##class(%ZEN.Component.group).%New()
Do grupo.%AddChild(dataCombo)
Do grupo.%DrawHTML()
Quit $$$OK
}
I hope will be usefull.
Regards,
On 30 jan, 14:17, Thiago Gonzaga – Shift (Desenvolvimento)
<
thiago.gonz...@shift.com.br> wrote:
> Hello guys,
>
> I want to draw dataCombos in tablePanes, I’ve tried to do that “onDrawCell” but it doesn’t work, the component is drawn but the dropdownlist doesn’t show up when typing. Do you guys have any idea, how could I do that?
>
> Regards,
>
> [cid:image001....@01CCDF59.BC85CAF0]
>
> Thiago Gonzaga
> Desenvolvimento
> Shift - Informática para laboratórios
> PABX: 55 (17) 2136-1555 | FAX: 55 (17) 2136-1590
>
> [cid:image002....@01CCDF59.BC85CAF0]
>
> Visite-nos
emwww.shift.com.br<
http://www.shift.com.br/>
>
> [cid:image003....@01CCDF59.BC85CAF0]
>
> Siga-nos
emwww.twitter.com/shift20anos<
http://www.twitter.com/shift20anos>
>
> [cid:image004....@01CCDF59.BC85CAF0]
>
> Responsabilidade ambiental: pense antes de imprimir
>
> image001.jpg
> 3KExibirDownload
>
> image002.jpg
> < 1KVisualizarFazer download
>
> image003.jpg
> < 1KVisualizarFazer download
>
> image004.jpg
> < 1KVisualizarFazer download