Jump to content

jaosobne

uniGUI Subscriber
  • Posts

    25
  • Joined

  • Last visited

Recent Profile Visitors

903 profile views

jaosobne's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hi, is there a way to set binding IP address of hyperserver ? Ja
  2. Hi , I have event on ColumnActionClick in grid to show window in the onaftershow event of this window is executed this code which needs 10s to be finished procedure TShowURL.getDCL(sn:string); var url,filename:string; begin if (not sn.IsEmpty) then begin Caption:=sn; uniURL.ShowMask('Connecting ...'); UniSession.Synchronize; if smartdata.esmartConnect then begin uniURL.ShowMask('Dowloading ...'); UniSession.Synchronize; smartdata.checkDCL(sn); smartdata.getLastComm(sn); smartdata.AHTTPResponseStream.Position:=0; url := UniServerModule.LocalCacheURL+sn+'.html'; filename := UniServerModule.NewCacheFileUrl(false, '.html', sn, '', url); smartdata.AHTTPResponseStream.SaveToFile(filename); uniURL.HideMask; UniURL.URL:=url; end; end; end; the window is shown but any mask isn't shown while procedure is executing. the caption is not changed too.
  3. I don’t think so. The only solution is as I write earlier... You must create a hidden container, place here uniDateTimePicker as a column editor and set the grid ReadOnly to false.
  4. Hi, yes it is possible that we need server side sorting with pagination because in store we have only records that are currently paged . I show only filtered records, it's intranet app and client side sorting is more quicklier than server side sorting. Is there some issue that we can't have set column type to date type at time of table creation ?
  5. Hi Sherzod , I don't want to use server side sorting because it is slowe then client side . Best should be if you can set correct field type at grid create time to xtype datefield and not textfield. here is dump from console : MainForm.grid.getColumnManager().columns[4].editor {xtype: "textfield", uform: constructor, focusDisabled: true, isCellEditor: true} and JS Code from index O5D = new Ext.grid.column.Column({ ogrid: O13, sortable: false, dataIndex: "4", renderer: _rndcll_, rdonly: false, text: "HireDate", cf: "**j.n.Y", ct: "datetime", width: 112, editor: { xtype: "textfield" } }); please check it in the test case , first column "Hire date" doesn't have editor and second has unidatetimepicker as editor and working correctly. Project1.zip
  6. hi guys, problem is in that the column is set to text field and JS sorts it as text not as date type. If we define editor property of that column as datetimepicker then that column has xform property as some date type if i remember it correctly and sorting on client side works properly. It doesn’t depends on sql server , i’m using mysql and testcase is on clientdataset. I can make some dumps from debuger when i will be at pc..
  7. Hi Sherzod , did you found some solution for that ? BR
  8. Thank you Sherzod !!! that is what i need . I tried it with onBlur override but at wrong place .
  9. Hi , I have simple form with checkbox and edit. While I moving on form by mouse clicking it works correctly , but with tab key unicheckbox doesn't blur after losing focus and looks like it has focus I can do this by add listener to that checkbox with unievent like that function afterCreate(sender) { sender.addListener('blur', function(){ this.displayEl.removeCls('x-form-checkbox-focus') }); } My question is if it can be done once by some Ext.form.field.Checkbox.prototype for whole application or it is a bug ? I don't want to add this for each checkbox that i have in application. Thanks
  10. Hi, Client side sorting on date column doesn't work properly . Date is sorted like text not by date if uniDBGrid is set as read only. And sorting only work if the column have uniDateTimePicker as editor and is set ReadOnly to false. Can I set some JS to set that column to date type and get client side sorting to work properly ??? Thanks
  11. Thank You, I'll try it. I found an issue for that i need to manualy send focus to the first field. When the grid is set to edit with uni_sencha theme then row editor doesn't gets focus . With other theme for example uni_win10 the row editor gets focus and work as it should. There is some bug in sencha theme ..
  12. Hi , I have this code on activecolumn to show roweditor and set focus to the first field . unisession.AddJS(Grid.JSName+'.getPlugin().startEdit('+Grid.CurrRow.ToString+',0); '); unisession.AddJS(Grid.JSName+'.getPlugin().editor.focus();') ; Row editor is shown but it doesn't set focus to the first field. If I execute second command with uniTimer then it gets focus . If I want to insert a new record on the first row then I must do it in 3 steps: 1, move to first record 2, timer event to insert record 3, and then timer event to send focus to the first field of roweditor Is there a easier way to execute scripts without timers ?
×
×
  • Create New...