Jump to content

zemorango

uniGUI Subscriber
  • Posts

    99
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by zemorango

  1. I Unigui Developers,
     
    I Have a strange situation,
     
    I have a form with some butons and a unidbgrid.  for each of the buttons I fill the grid with data from a table in sql server and aply filters to the grid according to the columns of the table i choose.
     
    the filters apears and work  for the first tabble and second table, the grid is filled correctly and the filters works, but if I click on the first button again to load back the date form the first table then I get an error.

     

    Before I fill the grid I clear all the columns and set the filter component of each columns to nil;

     

    I'm sending some imagens in attachement

     // make sure to remove the filter components from the grid columns
          for i := 0 to JanListagens.GridRelatorio.Columns.Count-1  do begin
             JanListagens.GridRelatorio.Columns[i].Filtering.Editor:=nil;
          end;
    
    
         // clear the columns
         JanListagens.GridRelatorio.Columns.Clear;
    
         // load the grid with dataset  the SQL is diferent with more or less colums depending of the table i'm loading
         GetData(self, JanListagens.Provtmp, JanListagens.CDStmp,sql, JanListagens.GridRelatorio, JanListagens.Dtstmp);
    
    
         // configure the filters, all uniedit simple text.
         for i := 0 to JanListagens.GridRelatorio.Columns.Count-1  do begin
                  if (JanListagens.GridRelatorio.Columns[i].Field <> Nil)
                   then begin
    
                    Comp:=JanListagens.findcomponent('Edit_'+UniMainModule.listActualTabela.ToString+'_'+i.ToString) as TuniEdit ;
    
                    if Comp<>nil then
                    begin
                      comp.EmptyText:=JanListagens.GridRelatorio.Columns[i].FieldName+'...';
                      JanListagens.GridRelatorio.Columns[i].Width:=200;
                      JanListagens.GridRelatorio.Columns[i].Filtering.enabled:=true;
                      JanListagens.GridRelatorio.Columns[i].Filtering.Editor:=comp;
                      JanListagens.GridRelatorio.Columns[i].Title.Font.Size:=9;
                      JanListagens.GridRelatorio.Columns[i].Sortable:=true;
                    end;
    
                   end;
               end;
    
    

    do I need to make some kind of cache operation to clean the filters in javascript?

     

    Regards

     

    zemorango

     

     

     

    post-2058-0-56128300-1528727923_thumb.png

  2. Hi Mohammad,

     

    Regarding your example, how do I change the unicalendar  colors of a date cell at runtime, I used you code to create the colors styles but how to make a specific date have one of those colors?

     

    Regards

     

    Jose

  3. Hello,

    could you please upload a sample application demonstrating the problem ?

     

    Hi Lema, Yes I can, I send you a link, its a simple project

     

    https://1drv.ms/u/s!Armx7bQj2c-RiNodsEppJqJX-HktXQ

     

    also I have some problems running project as ISAP dll published to IIS, even in 32 bits I get a white screen instead of the map,

    I tested you demo project and have the same problem

    I sent you some pictures in the links below

     

    https://1drv.ms/i/s!Armx7bQj2c-RiNob_Zo6gft6UK-CBA

     

    https://1drv.ms/i/s!Armx7bQj2c-RiNoc4_Dw7spMS3ze3g

     

     

     

     

     

  4. Hi, Today I remove Hyper-V from my PC and after restart  when I start Delphi Berlin I get the error  "unigui:Verication Failed", so I'm trying to reinstall but cannot remember my customer Portal Pass to get the last version., How do I do to reset the password?

     

     

     

    Regards

     

    José

  5. Hi, Farshad

     

    So far everything was ok, I'm developing a new unigui web app and I like it so mush, I'm using Delphi berlin update 2.

    But today when o run the app and open the browser ( any browser) the app don't start, all I get is "loading..."

    I'm, using version 1399 of unigui

     

    In the developer console of the browser there is some errors :

     

    SCRIPT5009 : ' Ext' is undefined

    localhost:8077 (18,2)

     

    SCRIPT5009: 'uniVars' is undefined

     

    I thought it was some error in my app so i create a new one empty only the default form, but the problem is the same.

    I send a log server in attach

     

     

    Any Idear?

     

    thanks in advance.

     

    zemorango

     

     

     

    A2017-09-02.txt

×
×
  • Create New...