Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/13/20 in all areas

  1. Yes, but it needs to be upgraded with text search box for values and limitation of menu subitems. Also 'mark all' and 'unmark all' menu items. In current state it is not really user friendly. But still. Good job. And thanks for sharing.
    1 point
  2. Hello, Sorry for the late reply. Try this approach for now: 1. UniDBGrid1.ClientEvents.UniEvents - > function beforeInit(sender, config) { sender.correctBGColor = function () { sender.headerCt.getGridColumns().forEach(function(header) { var bgcolor = header.titleEl.getStyle('background-color'); if (bgcolor && bgcolor !== 'transparent') { header.el.select('[data-ref="innerCt"]').setStyle('background-color', bgcolor) } }); sender.correctBGColor = Ext.emptyFn; }; } 2. procedure TMainForm.UniFormReady(Sender: TObject); begin UniDBGrid1.JSInterface.JSCall('correctBGColor', []); end;
    1 point
×
×
  • Create New...