Jump to content

jeans_larghi

Members
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by jeans_larghi

  1. Hi Farshad,

    working with latest release;

    Some issue and needs (all in the dbgrid):

     

    Tab or navigate in a dbgrid row while editing: Pressing tab or any key in a next/previous fields not go to editing; it works only with [enter] or [click] inside.

     

    dgInsert: Pressing the down arrow on last row is no longer possible to add automatically a new row in a dbgrid.

     

    UpdateRowDataset : it is very useful if you insert a method that update the underline dataset fields when leave a modified cell (optionally used on onexit of cell), so we can  calculate  or modify other fields in the record and show with  RefreshCurrentRow(), WITHOUT post operation and WITHOUT exit from the row for update related fields (very useful on lookups, calculate and validate fields during edit).

     

    As Always.... partial fetch with scrollbars (infinite scroll)....advanced dblookups.... :-)

     

    Best Regard!!!

  2. delphi XE7 64 bit.  

    unigui version 0.99.1195

    procedure TscrQuadroE1.UniComboBox1RemoteQuery(const QueryString: string;
      Result: TStrings);
    begin
       if (Trim(QueryString)='') and (Length(QueryString) > 49) then Exit;
     UniMainModule.QueryComuneGriglia.Active := false;
          UniMainModule.QueryComuneGriglia.Params[0].Text := UpperCase(QueryString)+'%';
          UniMainModule.QueryComuneGriglia.Active := true;
         UniMainModule.QueryComuneGriglia.First;
          while not UniMainModule.QueryComuneGriglia.Eof do
          begin
            Result.Add(UniMainModule.QueryComuneGrigliaCOM_COMUNE.AsString);
            UniMainModule.QueryComuneGriglia.Next;
          end;
          UniMainModule.QueryComuneGriglia.Active := False;
    

    EXTEvent on unidbrid

    function reconfigure(sender, store, columns, oldStore, the, eOpts)
    {
      columns[6].getEditor().on("keydown",
        function(obj, e){
          if(!columns[6].getEditor().store.findRecord("val", obj.getRawValue() + String.fromCharCode(e.keyCode)) &&
            e.keyCode!=8 &&
            e.keyCode!=35 &&
            e.keyCode!=36 &&
            e.keyCode!=37 &&
            e.keyCode!=38 &&
            e.keyCode!=39 &&
            e.keyCode!=40 &&
            e.keyCode!=46){
              e.preventDefault()
            }
          }
        );
     
      columns[6].getEditor().on("change",
        function(obj, e){
          if (obj.getRawValue() == "") {
            columns[6].getEditor().triggerEl.elements[0].dom.click();
            columns[6].getEditor().triggerEl.elements[0].dom.click()
          }
        }
      )
     
    
    }
    

    Thanks for your help.

  3. Hi, I want to know how to read the text in a uniedit or unicombobox during editing when used in a column in unidbgrid.
    Using extEvent don't give me text  except for the event "data" useful for remote queries.
    I need to manage and change edit text when data is no present in remote query, but ther is no possibility in dbgrid's unicombobox..... 
    There are ways for manage events in controls embedded in grids?
     
    jeans_larghi (Sesamo Software collaborator)
     

     

  4. version 0.99

    UniComboBox  -remote query with fixed list

     
    Hello Farshad ,   there is a way to prevent  bad input or errors?  For ex: DevExpress cxDBLookupCombobox can sets the DropDownListStyle to lsFixedList for avoid user input of casual value in combo editor..
     
    Is this possible with uniComboBox with remote query? I want that ONLY correct values  can be typed; if i add some "not found" chars, edit value must revert to latest right value. 
     
    Best regards.

     

     

    • Upvote 1
  5. Hi, I don't like reload all data after row editing, because I have to edit next records in sequence, one by one (or append new records in sequence), all in cached updates at Dataset level . So I don't want to refresh the grid on every post... It possible to disable masking in this situation?
    Thanks,

    • Like 1
  6. windows 7

    unigui version 0.92.0.992

     

     

    how can I implement unicomboBox - clientEvents - uniEvents ListConfig?
     
     
    //

    An optional set of configuration properties that will be passed to the Ext.view.BoundList's constructor. Any configuration that is valid for BoundList can be included. Some of the more useful ones are:

    //

    function OnAfterCreate(sender)
    {
      sender.typeAhead =true;
      sender.hideTrigger =true;
    **************************************
    //  sender.listConfig:{minWidth=1};
    // How can I access the element?
    *************************************
    }
    

     

    sorry for my english.... :D  :D  :D

     

×
×
  • Create New...