Jump to content

All Activity

This stream auto-updates

  1. Today
  2. MVakili

    UniPageControl

    /*------------------- Page control tab control-------------------------------*/ .x-box-inner.x-box-scroller-body-horizontal{height:19px!important}.x-panel-body-default{border-style:none!important}.x-tab-bar-default .x-box-scroller-disabled{cursor:not-allowed}.x-tab-bar-horizontal .x-tab-bar-strip{background-color:#7EA8F8!important}.x-tab-bar-strip-default{background-color:#e0e0e0!important;border-color:#000;border-style:solid}.x-tab-bar-top > .x-tab-bar-strip-default{border:none!important;height:20px!important}.x-tab-default{background-color:#ececec;border-color:#00f;cursor:pointer;margin:0 1px 0 0}.x-tab-default .x-tab-icon-el{background-position:center center;height:20px;line-height:20px;width:20px}.x-tab-default .x-tab-inner{color:#333!important;line-height:16px!important}.x-tab-default-active .x-tab-inner{color:#333!important}.x-tab-default-active,.x-tab-default-over{background-color:#e0e0e0}.x-tab-default-left,.x-tab-default-right,.x-tab-default-top{border-bottom:0 solid #ddd}.x-tab-default-left-active,.x-tab-default-right-active,.x-tab-default-top-active{border-bottom:0 solid #add2ed}.x-tab-default-top{background-image:-webkit-linear-gradient(top,#fff,#fff);border-radius:3px;border-style:solid;border-width:0}.x-tab-icon-el{top:-3px}.x-tab-li{display:inline-block}.x-tab.x-tab-active{background-image:-webkit-linear-gradient(left,#fff,#bdcbff,#fff);border:10px!important;border-radius:3px}.x-tab.x-tab-active .x-tab-inner-default{color:#000!important}
  3. Yesterday
  4. picyka

    Only errors.

    I believe that no one should use SLEEP there anyway, it was just a way to simulate a delay when loading the data.
  5. andyhill

    Only errors.

    I never use SLEEP, instead use ajaxrequest with delay. ... UniSession.AddJS('Ext.defer(function() {ajaxRequest(MainForm.window, ''_SetFilter_'', [])}, 300);'); ... procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if SameText('_SetFilter_', EventName) then begin ...
  6. It worked, now, is there any way I can remove the All *.* option?
  7. picyka

    Only errors.

    Perhaps the grid mask would have to be activated in the OnColumnFilter event, and not just when loading the data.
  8. Try this approach for now: procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniFileUploadButton1 do begin Filter := '.pdf,.txt'; JSInterface.JSCall('fileInputEl.dom.setAttribute', ['accept', Filter]); end; end;
  9. picyka

    Only errors.

    I'll help you simulate the error very easily. procedure TMainForm.UniDBGrid1ColumnFilter(Sender: TUniDBGrid; const Column: TUniDBGridColumn; const Value: Variant); begin if Column.FieldName = 'LOG_UF' then begin CDCadastro.Filtered := False; if Value <> '' then begin var lFiltro := ''; if VarToStr(Value).Contains(';') then lFiltro := 'SC' else lFiltro := VarToStr(Value); Sleep(1000); CDCadastro.Filter := 'LOG_UF=' + QuotedStr(lFiltro); CDCadastro.Filtered := True; end; end; end; Sleep(1000); In my production system, the error occurs more easily than in the demo, because there is a small delay in loading the data. so I put a Sleep(1000); After selecting the SC value, click very quickly on more than one line. @Farshad Mohajeri
  10. in the end, it was all my bugs..... and the most important. AlignmentControl = uniAlignmentClient
  11. picyka

    Only errors.

    Component: UniDBGridServicos (TUniDBGrid) Parent: UniFrameCadFornecedor0 LastAjaxEvent: actionclick Class: Exception Message: TUniCustomDBGrid.MoveToRow(): Unexpected Row number: 2, 3 Version: 1573
  12. picyka

    Only errors.

    Test = 1555 production = 1573
  13. Build number? Does your build include below fix? [UNG-3473] - TUniDBGrid: Workaround for RecNo mismatch error.
  14. picyka

    Only errors.

    In production I use version 73, this test is version 55.
  15. Hi, Is this the latest uniGUI build ?
  16. The component only takes into account what is defined in it, if I pass another filter at run time it doesn't work. If you look at the image, my component only has the option filter = *.pfx and I want to pass other types of filters based on what the users choose, I passed the option Filter := '.p12,.pfx'; but it did not work.
  17. When you finish writing a CSS there are 2 other steps to consider 1- Troubleshooting: It is possible that there are errors in the code, for example, instead of 1px, you wrote only 1 2- Compression: It is important to increase the execution speed You can use different sites for this This is a good site and you can see the results of the previous code https://www.cssportal.com/css-optimize/ and final code .rc-grid-title-check .x-column-header-checkbox{display:none}.x-column-header{background-color:#FFF;border:1px solid red;border-color:#7EA8F8;border-radius:2px;color:#000;height:40px!important;padding:1px;text-align:center;vertical-align:middle}.x-grid{background-color:#FFF;border-collapse:collapse;border-color:#7EA8F8;border-style:solid;border-width:1px;color:#000;width:100%}.x-grid .x-grid-cell{height:30px!important;line-height:30px!important}.x-grid td,.x-grid th{border-color:#7EA8F8;border-style:solid;border-width:2px;padding:5px}.x-grid-cell-inner{overflow:hidden;padding:5px 4px 4px!important;text-overflow:ellipsis;white-space:nowrap}.x-grid-header-ct .x-column-header-inner{white-space:nowrap}.x-grid-item-selected .x-grid-cell{background-color:#FFFFE0;border:1px solid #cce5ff;color:#00008B}.x-grid-td{vertical-align:middle}.x-toolbar-default{border-width:0;padding:6px 0 0}.x-toolbar-default .x-toolbar-separator-horizontal{border-width:0}.x-toolbar-text-default{color:#4b4c4c;padding:0 0 0 -8px}
  18. A CSS for UniDBGrid .x-grid-header-ct .x-column-header-inner { white-space: nowrap; } .x-column-header { border: 1px solid red; height: 40px !important; background-color:#FFF; border-color:#7EA8F8; border-radius:2px; color:#000; padding:1px; text-align:center; vertical-align:middle; } .x-grid-item-selected .x-grid-cell { background-color:#FFFFE0; border:1 solid #cce5ff; color:#00008B; } .x-grid-cell-inner { padding: 5px 4px 4px!important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .x-grid-td { vertical-align: middle; } .rc-grid-title-check .x-column-header-checkbox { display:none; } .x-toolbar-text-default { padding: 0px 0px 0px -8px; color: #4b4c4c; } .x-toolbar-default .x-toolbar-separator-horizontal{ border-width: 0px; } .x-toolbar-default { padding: 6px 0 0px 0px; border-width: 0px; } .x-grid .x-grid-cell { height: 30px !important; line-height: 30px !important; } .x-grid { background-color:#FFF; border-collapse:collapse; border-color:#7EA8F8; border-style:solid; border-width:1px; color:#000; width:100% } .x-grid td,.x-grid th { border-color:#7EA8F8; border-style:solid; border-width:2px; padding:5px }
  19. Last week
  20. Can I change the filter property? Can I put 2 different filters? Example: *.pdf *.txt
  21. I've sent you in the same day I were notified by Paypal.

    Have you Download the pack ?

     
    Sending again:
     
    Below is your download link for all projects in the pack. Open the Indexdw.html for a easy access to files in the JS folder.
    https://mega.nz/file/QYR0iY4A#etz837NkVWQhw62-A6OTES6Fs0HJiH-4kdvQMV5m2EY
     
    Please confirm you have downloaded it successfully.
    1. Fred Montier

      Fred Montier

      Sent to
      info@csh-kommunal.de

      Just sent again. Please confirm.

      Sending again:
       
      Below is your download link for all projects in the pack. Open the Indexdw.html for a easy access to files in the JS folder.
      https://mega.nz/file/QYR0iY4A#etz837NkVWQhw62-A6OTES6Fs0HJiH-4kdvQMV5m2EY
       
      Please confirm you have downloaded it successfully.
  22. picyka

    Only errors.

    unit uniDBGrid; function SetCurrentRowCol(ARow, ACol:Integer; SuppParams: array of string):Boolean; override; It seems that it tries to select the line and is processing the filter, which ends up causing the error, I don't know if I'm quite sure about this theory.
  23. picyka

    Only errors.

    Master @Farshad Mohajeri, I hope I can help you.
  1. Load more activity
×
×
  • Create New...