Jump to content
uniGUI Discussion Forums


uniGUI Subscriber
  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jaosobne

  • Rank

Recent Profile Visitors

117 profile views
  1. 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.
  2. This can be done by myself somehow ?
  3. 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 ?
  4. 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
  5. 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..
  6. Here it is .. ClientSideSort.zip
  7. Hi Sherzod , did you found some solution for that ? BR
  8. jaosobne

    UniCheckbox doesn't blur with tab key

    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, thank you
  11. 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
  12. jaosobne

    Multiple uniSession.AddJS

    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 ..
  13. jaosobne

    Multiple uniSession.AddJS

    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 ?
  14. jaosobne

    UniDBGrid actionColumn Hint issue

    Hi, If I have a unidbgrid on form that is shown modal and i click on the button at actioncolumn that have set hint property then this modalform looses activated property for a while and then it gets back. The button have to set Dataset.edit and unigrid show roweditor and it not happend everytime . If a click to fast or before hint is shown it sets dataset to edit but grid doesn't show roweditor. I can see events in that order if row editor is not shown : Obj:O39 Evt: actionclick columnIndex: 6 buttonId: 0 Obj:O26 Evt: deactivate Obj:O26 Evt: activate I can see events in that order if row editor is shown : Obj: O26 Evt deactivate Obj:O39 Evt:actionclick columnIndex:6 buttonId:0 Obj:O26 Evt:activate Obj:O39 Evt:beforeedit This is happend only if a grid is modalshown and have on actioncolumn buttons setted hints !!! Grid - ActionColumn.zip
  15. jaosobne

    UniTreeMenu Collapse by code

    Hi, I set this to unitimer event and it hides menu , but i don't know how long , because that menu container is created dynamically and it changes his ID. It should be better target his ID than class tags . unisession.AddJS('{var menu = Ext.ComponentQuery.query("container[cls=x-treelist x-unselectable x-treelist-nav x-treelist-floater]");if (menu.length >0) {Ext.get(menu[0].id).hide();}}');