uniguisyriusz
-
Posts
61 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by uniguisyriusz
-
-
I'm using. The same effect.
-
-
-
Maybe example will be better? There is TUnidateTimePicker with UniDateTimePicker1ChangeValue. Usually when its value is changing then UniDateTimePicker1ChangeValue fires. But sometimes UniDateTimePicker1ChangeValue is not firing.
-
Like in subject. Sometimes OnChangeValue event not fires. In browsers console everething looks ok.
-
And? Any solution?
-
Thank you very much for the advice. This is a UniGui-style solution.
I only need to convert 180 datetimepicker to combobox.
-
Yes, Kind is set to tUniTime.
-
Is it possible to set TUniDateTimePicker items list to constant value? For example [06:00, 08:80, 08:30, 10:00, 11:00,15:00]?
-
Ok. Now it's ok. Thanks for help.
-
Params.Text =
Ajax=1
IsEvent=1
Obj=O1C
Evt=select
This=O1C
rr=2
cc=3
_S_ID=fk9yVGicJY10516EAE5
_fp_=%26O18%3D%25020%2502%2502%25032%25033%2503
_seq_=5
_uo_=O0 -
-
Example in attachment.
function celldblclick(sender, td, cellIndex, record, tr, rowIndex, e, eOpts)
{
Ext.defer(function(){
ajaxRequest(sender, 'celldblclick', ['cel='+cellIndex, 'testA=22'], true)
}, 300);
} -
uniGUI Compolete Professional v1.90.0.1496
Ext event:
function celldblclick(sender, td, cellIndex, record, tr, rowIndex, e, eOpts)
{
Ext.defer(function(){
ajaxRequest(sender, 'celldblclick', ['cel='+cellIndex], false)
}, 300);
}In Delphi OnAjaxEvent parameter cel is missing.
There is parameter c but its value is 0 for first and second column (first column is fixed).
I need to know column id independently from fixed columns count.
-
frMiesiac is not needed, it can be removed.
-
Because the standard grid and other components are not enough for me.
-
Can it be done efficiently? Creating 310 kills the application. Example in the attachment.
-
So there is no any other way?
-
Ok. But why CurrColl is not changing? Its value is always 0.
-
Add OnSelectionChange to UniDBGrid and inside of it check values of UniDbGrid.CurrCol and CurrRow.
-
When rowselect is active and user is using keyboard keys up, down left, right, CurrColl is not changing only CurrRow is changing.
When rowselect is off CurrCol and CurrRow are changing but it's imposible to select whole rows.
-
Is It possible?
-
Refresh on UniDbGrid?
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIRegClasses, uniGUIForm, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt,
Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, uniGUIBaseClasses,
uniBasicGrid, uniDBGrid, uniButton, uniPanel, uniTimer, uniThreadTimer;const
WM_MY_MESSAGE = WM_USER + 0;type
TMainForm = class(TUniForm)
FDQuery1: TFDQuery;
UniDBGrid1: TUniDBGrid;
DataSource1: TDataSource;
UniButton1: TUniButton;
UniTimer1: TUniTimer;
procedure FDQuery1AfterOpen(DataSet: TDataSet);
procedure UniButton1Click(Sender: TObject);
privatepublic
{ Public declarations }
end;function MainForm: TMainForm;
implementation
{$R *.dfm}
uses
uniGUIVars, MainModule, uniGUIApplication;function MainForm: TMainForm;
begin
Result := TMainForm(UniMainModule.GetFormInstance(TMainForm));
end;procedure TMainForm.FDQuery1AfterOpen(DataSet: TDataSet);
begin
DataSource1.DataSet := FDQuery1;
UniDBGrid1.DataSource := DataSource1;
UniTimer1.Enabled := false;
//UniDBGrid1.JSInterface.JSCall('view.refresh', []);
end;procedure TMainForm.UniButton1Click(Sender: TObject);
begin
FDQuery1.Open();
end;initialization
RegisterAppFormClass(TMainForm);end.
-
This solution raise the same exception "Attempt to access nil session reference "
TUniDateTimePicker OnChangeValue sometimes not working
in General
Posted
New example.
We have MainForm with PageControl, on TabSheet3 is placed Frame1 with PageControl. When user is changing DateTimePicker value in first column from left, value of its neighbour in second column schould change - but it's not. It happens after changing pagecontrol tab.
When unidatetimepicker is placed on form, like on MainForm TabSheet1 and 2 everything is working fine.
uniDateTimePicker.zip