Jump to content

Masteritec

uniGUI Subscriber
  • Posts

    191
  • Joined

  • Last visited

Posts posted by Masteritec

  1. 7 hours ago, Wilton Ergon said:

    I never had this problem, it must be the fact that my report builder engine, is in a separate executable, my web page created in unigui, calls this executable passing the report parameters, and is waiting for the pdf to be created, so the same is displayed, it is likely that you must have embedded the report builder controls within your unigui application

    my unigui project deployed as an exe, because I use hyperserver, which is configured in iis, and the hyperserver dll, and not my application.

    already tried using hyperserver ?

    If you want to know my ready-to-use solution, visit www.taskreport.com.br

    Thanks your reply.

    Actually run in Standalone or Service, my web apps no this problem and can be display rich text when export to PDF.

    Only in ISAPI dll can't display rich text when export to PDF.

  2. 9 hours ago, Wilton Ergon said:

    have you already tried to open this pdf externally in another pdf reader, as I think this has nothing to do with isapi, but in exporting the report to pdf, which is not configured to export rtf objects, I use report builder, and I never had this problem

    Already try open in Adobe Reader, can't display Rich Text. I think is report builder did not export Rich Text to PDF in ISAPI, standalone exe no problem.

    Your Wep Apps is run on ISAPI or standalone exe?

  3. Hi,

      I use 1.90.0.1545, facing icon problem when set x-form-search-trigger IconCls. refer testcase "Grid-Runtime Editor.zip"

    Quote

     

    with LueEdit.Triggers.Add do
      begin
        HandleClicks:= True;
        HideOnReadOnly:= False;
        IconCls:= 'x-form-trigger';
      end;

      with LueEdit.Triggers.Add do
      begin
        HandleClicks:= True;
        HideOnReadOnly:= False;
        IconCls:= 'x-form-search-trigger';
      end;

     

    image.png.f94d007e42f61f839eb32990fd9bd229.png

    Grid-Runtime Editor.zip

  4. On 5/12/2020 at 2:52 PM, apgrs said:

    ExtEvents->beforeedit  not working for checkbox columns.

    Testcase:

    1. Take demo uniGUI\Demos\Desktop\GridCheckBox

    2. Put code below to UniDbGrid1->ExtEvents

    
    function beforeedit(editor, context, eOpts)
    {
    return false;
    }

    3. Try to edit checkbox columns

     

    UNiGUIVersion 1.90.0.1526

    Hi,

      above issue i checked in version 1.90.0.1545 still not yet fix. Any solution for set readonly checkbox in grid when use beforeedit?

     

  5. Hi, Please see below code and sample Grid4.

    If LastName and FirstName is empty, other columns is not allow edit, but if LastName or FirstName column change position, below code will wrong.

    if ((context.field == 3) || (context.field == 4)
          || (context.field == 5) || (context.field == 6)
          || (context.field == 7) || (context.field == 8)) { 
        return ajaxRequest(this, "GridEditing", [], false).responseText == "true";
      };

    Quote

    procedure TMainForm.UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings);
    begin
      if EventName = 'GridEditing' then
      begin
        if (ClientDataSet1.FieldValues['LastName'] = '') and (ClientDataSet1.FieldValues['FirstName'] = '') then
        begin
          UniSession.SendResponse('false');
        end
        else
        begin
          UniSession.SendResponse('true');
        end;
      end;
    end;

     

    Quote

    function beforeedit(editor, context, eOpts)
    {
      if ((context.field == 3) || (context.field == 4)
          || (context.field == 5) || (context.field == 6)
          || (context.field == 7) || (context.field == 8)) { 
        return ajaxRequest(this, "GridEditing", [], false).responseText == "true";
      };
    }

     

    Grid4.zip

  6. Hi, 

    Quote

     function beforeedit(editor, context, eOpts)
    {
      if ((context.field == 1) || (context.field == 2)) { 
        return ajaxRequest(this, "GridEditing", ["colIdx="+context.field], false).responseText == "true";
      };
    }

    above coding can be write on the fly? Then I can assign context.field after column move in grid.

  7. 8 minutes ago, Sherzod said:

    Hi,

    What if there is such a scenario?
    1. The user will assign the value to Column A
    2. Then the user will assign the value to Column D
    3. After, the user will delete the value in Column A

    Delete the value in Column A and system auto delete the value in Column D.

×
×
  • Create New...