Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/07/18 in all areas

  1. Calendar of Commitments with uniGUI I show in this video based on a source code provided in the Group by Robinho, how to create a calendar where you can put badges on days with appointments. I use the components of the Fênix: http://app.fenixerp.com.br/unigui/ [PT-BR] Calendário de Compromissos com uniGUI Mostro nesse vídeo com base em um código fonte fornecido no Grupo por Robinho, como criar um calendário onde você pode colocar marcações (badge) nos dias com compromissos. utilizo os componentes da Fênix: http://app.fenixerp.com.br/unigui/ VIDEO https://youtu.be/f0ws4zcuRtM Caledario2.rar
    1 point
  2. Добрый вечер. Проанализировал я Ваш вопрос. Постулируем следующее : В один момент открыта только одна подчиненная строчка (остальные закрываются) Используя плагин RowWidget Вы можете это сделать. Возьмите демку gedit киньте туда контейнер панель, закиньте туда два дбедита с FirstName и LastName После этого допишите в код следующий текст type TMyGrid=class(TUniDBGrid); procedure TMainForm.UniFormCreate(Sender: TObject); begin TMyGrid(UniDBGrid1).JSConfigPlugin('Ext.grid.plugin.RowWidget',['pluginId',-100,'selectRowOnExpand',true,'widget',TMyGrid(UniDBGrid1).JsObject('xtype:"panel", height:200')]); UniSession.AddJS(TMyGrid(UniDBGrid1).JSName+'.getView().lastId=-1;'); UniSession.AddJS(TMyGrid(UniDBGrid1).JSName+'.getView().addListener("expandbody",function(rowNode, record, nextBd, widget)'+'{if (this.grid.getPlugin(-100) && this.lastId!=-1) this.grid.getPlugin(-100).toggleRow(this.lastId,record); this.lastId=record.id; widget.setHeight('+IntToStr(UniHiddenPanel2.Height)+');'+UniHiddenPanel2.JsName+'.setPosition(0,0); widget.add('+UniHiddenPanel2.JSName+');},'+TMyGrid(UniDBGrid1).JSName+'.getView());'); UniSession.AddJS(TMyGrid(UniDBGrid1).JSName+'.getView().addListener("collapsebody",function(rowNode, record, nextBd, widget){ this.lastId=-1;},'+TMyGrid(UniDBGrid1).JSName+'.getView());'); end; //Вместо UniHiddenPanel2 напишите название Вашей контейнер панели. Думаю с гридом получится также "Я нашёл этому поистине чудесное доказательство, но поля книги слишком узки для него." Всего доброго.
    1 point
  3. The ExtJS 6.5 mobile themes certainly help to write single web apps that can be used on desktops, tablets or smartphones. But you are limited to only 2-3 themes available that not everyone likes. Having the possibility to change colors / fonts would be a further help but at the moment we have to do everything via JS and know exactly what to declare to acces EXTJS api. However, a nice step forward compared to before ...
    1 point
×
×
  • Create New...