eduardosuruagy
-
Posts
845 -
Joined
-
Last visited
-
Days Won
10
Content Type
Profiles
Forums
Events
Posts posted by eduardosuruagy
-
-
Can anyone help me with this problem?
-
7 hours ago, Sherzod said:
Hi,
Something like this.
function afterrender(sender, eOpts) { var me = sender; var view = me.normalGrid.getView(); view.tip = Ext.create('Ext.tip.ToolTip', { target: view.getId(), delegate: '.x-grid-cell', trackMouse: true, listeners: { beforeshow: function updateTipBody(tip) { return me.cellTip ? tip.update(me.cellTip) : false; } } }); }
procedure TMainForm.UniFormCreate(Sender: TObject); begin UniStringGrid1.JSInterface.JSProperty('cellTip', ['tip']); end;
procedure TMainForm.UniButton1Click(Sender: TObject); begin UniStringGrid1.JSInterface.JSAssign('cellTip', ['tip1']); end;
But you also need to think about these form events:
deactivate and activate, which are called upon activation, deactivation tooltip!Obrigado!!
-
Valeu Marlon pela dica...
-
4 minutes ago, Marlon Nardi said:
Sim você consegue fazer com este mesmo exemplo, você vai utilizar o index de sua Column, neste seu caso o index vai iniciar na posição 5
--
If you can do the same example, you can use your column index, in which case the index will start at position 5' if (column.dataIndex == ''5'') { '+ ' tip.update('' '+ ' <b>Descrição Coluna 5</b> '' + record.data[parseInt(5)] + '' '+ ' ''); '+ ' } '+ ' if (column.dataIndex == ''6'') { '+ ' tip.update('' '+ ' <b>Descrição Coluna 6</b> '' + record.data[parseInt(6)] + '' '+ ' ''); '+ ' } '+
Eu queria fazer de uma forma dinâmica, tipo assim, qd abrir no celular ou tablet eu iria deixar as colunas invisíveis e mostrar elas como uma dica.
Exemplo: Tenho um grid com 10 colunas ai quando abro no tablet eu deixaria as 5 primeiras colunas visíveis e as outras 5 eu colocaria elas como uma dica. Sendo que isso eu tenho que fazer em vários grids ai se conseguisse colocar no formulário padrão seria melhor.
-
20 minutes ago, Marlon Nardi said:
Add in UniDBGrid -> ClientEvents.ExtEvents.Values['viewready']
Sample:dbg.ClientEvents.ExtEvents.Values['viewready'] := 'function viewready(sender, eOpts) '+ '{ '+ ' sender.view.tip = Ext.create(''Ext.tip.ToolTip'', { '+ ' target: sender.view.el,'+ ' delegate: sender.view.cellSelector, '+ ' trackMouse: true, '+ ' showDelay: 50, '+ ' hideDelay: 50, '+ ' renderTo: Ext.getBody(), '+ ' listeners: { '+ ' beforeshow: function updateTipBody(tip) { '+ ' gridColums = sender.view.getGridColumns(); '+ ' column = gridColums[tip.triggerElement.cellIndex]; '+ ' record = sender.view.getRecord(tip.triggerElement.parentNode); '+ ' if (column.dataIndex == ''3'') { '+ ' tip.update('' '+ ' <b>Descrição</b> '' + record.data[parseInt(3)] + '' </br> '+ ' <b>Categoria de Despesa</b> '' + record.data[parseInt(11)] + '' '+ ' ''); '+ ' } else { '+ ' return false; '+ ' } '+ ' } '+ ' } '+ ' }); '+ '} ';
Oi Marlon, ótima dica essa...
Eu queria saber se tem como fazer uma alteração da seguinte forma, tenho um grid com 10 colunas ai quero deixar as colunas invisíveis a partir da 5º, ai eu queria colocar essa dica nas colunas visíveis. Entendeu?
-
-
2 hours ago, zemorango said:
What I do is Just call the viewer in a unigui Url Frame
UrlFrame.Url:='http://yourserver'/viewer.php?File=YourFile
No big magic, simple stuff
Where is this viewer.php file?
-
On 2/24/2017 at 12:15 PM, Stemon63 said:
Hi Farshad,
In my constant search for optimum performance on complex forms and documents of different kind and sizes, I contacted Gnostice and spoke of UNIGUI power.
They have powerful components for the management of native PDF and document management in Delphi.
In my attempt to be able to display dynamic documents with Unigui, (containing dynamic data with filler form) other than simple forms with a lot of components, I got this video from Gnostice people. All using Delphi.
Any idea or comment is welcome. :-)Stefano Monterisi
Sesamo Software Spa
I was unable to install on Berlin 10.1
-
On 2/20/2018 at 12:21 PM, orvkis said:
Hi,
Try google docs, its free.
just replace <file_url> and put it in uniURLFrame
https://docs.google.com/viewerng/viewer?url=<file_url>&chrome=false&dov=1
for example
https://docs.google.com/viewer?url=www.snee.com/xml/xslt/sample.doc&embedded=true&chrome=false&dov=1
How can I do the tests using localhost?
-
14 minutes ago, zemorango said:
O que faço é chamar o visualizador em um quadro de URL exclusivo
UrlFrame.Url: = 'http: //seu servidor'/viewer.php? File = YourFile
Nenhuma grande mágica, coisas simples
But did you install anything?
-
46 minutes ago, Farshad Mohajeri said:
Você pode tentar aplicar a solução abaixo:
https://port135.com/2019/03/16/http-status-413-request-entity-too-large/
With this tip it worked perfect
- 1
-
18 minutes ago, Farshad Mohajeri said:
Qual é a sua versão do Windows e do IIS?
IIS 10
Windows Server 2016 Datacenter x64
-
28 minutes ago, zemorango said:
Você pode usar uma biblioteca como esta
https://www.docuvieware.com/docuvieware-lite/
Eu tenho que trabalhar com o meu sistema.
Do you have an example using this tool?
-
1 minute ago, Farshad Mohajeri said:
Eu adicionei isso à base de código.
obrigado
Thank you and congratulations for the excellent work
- 1
-
I looked and mine was already with these settings
-
10 minutes ago, Farshad Mohajeri said:
Este pode ser o problema:
http://www.unigui.com/doc/online_help/adjusting-upload-limit.htm
My exe is 29,951 Kb, I will test this tip and let you know. Thanks!!
-
On 10/8/2019 at 2:08 PM, Hayri ASLAN said:
Hello
Please change H_OnCellClick in UniBasicGrid.pas to below code for now. We will add this to new build.
procedure TUniBasicGrid.H_OnCellClick(This: TJSObject; EventName: string; Params: TUniStrings); begin if Assigned(OnClick) then begin if CheckBoxSelect and (Params['c'].AsInteger=0) then Exit; FSelectionInvalid := True; try if Clickable(FCurrCol, FCurrRow) then OnClick(Self); finally FSelectionInvalid := False; end; end; end;
Hasn't that been adjusted yet? I have to adjust it in all versions that I update from Unigui. How can I leave it fixed?
-
On 01/01/2020 at 13:35, mhmda said:
Exibir arquivos do Office: docx, xlsx. pptx ... quase todo tipo de arquivo dentro do Unigui sem a necessidade de instalar o office no dispositivo cliente.
Can you show us how you managed to do that ?? Thanks!
-
-
-
When I try to update my application using hyperserve it shows the error "Error Status = 413",
Version Unigui 1522
-
On 25/02/2020 at 13:48, robinhodemorais said:
Obrigado pela ajuda, você fará alguns testes, mas ele não funcionará com o Hypper Server, você não poderá colocá-lo em produção, mas, em qualquer caso, será usado para estudos ...
Uma dúvida, você conhece os recursos dos eventos onHttpDocument e onHttpCommand?
Robinho vc conseguiu alguma coisa sobre esse tópico aqui?
-
5 hours ago, Mike said:
Oi,
Em vez de TuniThreadTimer, agora estou usando um serviço do Windows para enviar email.
How are you doing? How to show?
-
On 2/28/2020 at 1:40 AM, Sherzod said:
Sorry, are you using the latest build?
Any news?
Error in UniListBox, when I click on a ListBox item I need to know its description, but the way it does not appear.
in General
Posted
Where do I open the ticket?