Jump to content

Recommended Posts

Posted

i need filter on a date field.

 

How can i set a unidatetimepicker as filter control.

 

i tryed to set on runtime but i have this error message :

 

TUniDBGrid:There is no Default JavaScript Object. [ : TUniDateTimePicker

 

a part of my code

CurFilterDate := TuniDateTimePicker.Create(panfilterHidden);
CurFilterDate.Parent := PanFilterHidden;
Curcolumn.Filtering.Editor := CurFilterDate;
Curcolumn.Filtering.Enabled := true;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...