Jump to content

Sherzod

Moderators
  • Posts

    19814
  • Joined

  • Last visited

  • Days Won

    644

Everything posted by Sherzod

  1. Hi, 1. CustomCSS: .x-treelist-item-floated .treenodeLabel { display: none; } 2. For example: procedure TMainForm.UniButton1Click(Sender: TObject); begin UniTreeMenu1.JSInterface.JSCode('var _r='#1'.getStore().findRecord("text", "Dashboard");'+ 'if (_r) {'+ ' newItem = document.createElement("LI");'+ ' newItem.className="treenodeLabel";'+ ' newItem.style.color = "#867F79";'+ ' newItem.style.fontSize = "16px";'+ ' newItem.style.padding = "5px 0 0 5px";'+ ' newItem.style.fontWeight = "bold";'+ ' textnode = document.createTextNode("System");'+ ' newItem.appendChild(textnode);'+ #1'.el.query(''li[data-recordid="'' + _r.internalId + ''"]'')[0].insertBefore(newItem, '#1'.el.query(''li[data-recordid="'' + _r.internalId + ''"]'')[0].childNodes[0])'+ '};' ); end;
  2. Hi, Maybe this post can help you: http://forums.unigui.com/index.php?/topic/6892-htmlframe-canvas-to-unimimage/&do=findComment&comment=35047 Best regards,
  3. К сожалению, на данный момент, не реализовано... Но, Вы можете попытаться использовать это решение: http://forums.unigui.com/index.php?/topic/2490-multiple-file-upload/page-2&do=findComment&comment=38734
  4. Sherzod

    Loading!

    Отсюда
  5. Sherzod

    Loading!

    Вы должны установить UniGUI Runtime пакет тоже
  6. Hi, Also you can try this approach I think: function window.afterrender(sender, eOpts) { var me = sender; me.dd = new Ext.dd.DDProxy(me, { delegate: me.id }); me.dd.afterDrag = (function() { me.updateLayout() }); Ext.onReady(function() { Ext.get(me.id).select(".x-form-field").each(function(el) { me.dd.addInvalidHandleId(el.dom.id) }) }); me.el.setStyle('cursor', 'move'); } http://forums.unigui.com/index.php?/topic/4567-move-tuniform-without-titlebar/ http://forums.unigui.com/index.php?/topic/6321-ot-javascript-profis-dragdrop-of-unipanel/ ...
  7. Hello, Sorry for delay Sorry that maybe I do not really understand the situation, why you want that behavior, But, we will try to find an approach if possible
  8. Can you try to use this approach for now?!: procedure TMainForm.UniDBGrid1AfterLoad(Sender: TUniDBGrid); begin (Sender as TUniDBGrid).JSInterface.JSCall('view.autoSizeColumn', [0]); end;
  9. OK, Sorry to have bothered you.
  10. Hi, Sorry, what problem do you have?
  11. Hi, Sorry, can you explain in more detail?
  12. Hi, This post can help you: http://forums.unigui.com/index.php?/topic/2490-multiple-file-upload/page-2&do=findComment&comment=38734
  13. UnimPanel -> ClientEvents -> UniEvents -> function beforeInit(sender, config) { config.cls = 'AbasteceTitPanel' }
  14. TClientDataset является in-memory dataset'ом, для сохранения данных Вы должны использовать SaveToFile и для загрузки LoadFromFile методы соответственно
×
×
  • Create New...