Page 1 of 1

TIWCGJQComboBoxEx - missing .DataLink property?

PostPosted: 02 Sep 2014 19:30
by ScottWGast
Will you be adding the .DataLink property to this component?

Currently, I'm attempting to (unsuccessfully) implement the TIWCGJQDropDown with the DataLink attached to my table and have the drop down list static (_not_ read from a table).

Also, concerning the TIWCGJQDropDown... how do I disable the magnifying glass search? Many of my drop down lists are very short and the search option is unnecessary.

What do you think?

Scott

UPDATE: I've manually (through the IDE) added 3 items to be included in the drop down list, but when the list drops down, I get the error message: Uninitialized Reply.

Re: TIWCGJQComboBoxEx - missing .DataLink property?

PostPosted: 02 Sep 2014 21:11
by Jorge Sousa
Hi Scott

We didn't add a datalink, because this component plugin doesn't support paging and ajax data loading like dropdown, a datalink would do nothing more than something like while not DataSet.Eof do AddItem; DataSet.Next;

About

PDATE: I've manually (through the IDE) added 3 items to be included in the drop down list, but when the list drops down, I get the error message: Uninitialized Reply.


Testcase or steps to reproduce please? t.i.a.

Re: TIWCGJQComboBoxEx - missing .DataLink property?

PostPosted: 02 Sep 2014 21:20
by ScottWGast
Concerning your comment:
"We didn't add a datalink, because this component plugin doesn't support paging and ajax data loading like dropdown, a datalink would do nothing more than something like while not DataSet.Eof do AddItem; DataSet.Next; "

I can see that the snippet of psudo-code (above) could be used to load the drop down list, but what I was looking for on the TIWCGJQComboBoxEx was the .DataLink (TIWCGJQFieldDataLink) property where I can select the data source and fieldname of the underlying table that will be updated when an item in the combo box was selected. I was not looking for a data bound drop down list.

About the TIWCGJQDropDownList component:
I will try to put together a small demo to demonstrate the issue with the TIWCGJQDropDownList. I am setting the .DataLink.DataSource and .DataLink.Fieldname properties within the IDE, but I am not setting the .ListDataSource because the drop down list is only three items which I have added to the .Items collection while the IDE.

Re: TIWCGJQComboBoxEx - missing .DataLink property?

PostPosted: 02 Sep 2014 21:23
by Jorge Sousa
Hi again

About

TIWCGJQComboBoxEx was the .DataLink (TIWCGJQFieldDataLink) property where I can select the data source and fieldname


Ok are convinced

Re: TIWCGJQComboBoxEx - missing .DataLink property?

PostPosted: 02 Sep 2014 21:56
by ScottWGast
Thank you for adding the .DataLink property to the TIWCGJQComboBoxEx component!

Concerning the other part of my post dealing with the TIWCGJQDropDownList component:
Should I be able to set the .DataLink.DataSource and .DataLink.Fieldname properties without having to set the .ListDataSource property? I would much rather load the .Items collection programmatically or through the IDE.

Re: TIWCGJQComboBoxEx - missing .DataLink property?

PostPosted: 02 Sep 2014 22:25
by Jorge Sousa
Hi

About the dropdown check the dfm, ajax must be off

Re: TIWCGJQComboBoxEx - missing .DataLink property?

PostPosted: 09 Sep 2014 19:26
by Jorge Sousa
Hi

Implemented DataLink in ComboBoxEx just for selected item, not for the list of available items.

Re: TIWCGJQComboBoxEx - missing .DataLink property?

PostPosted: 09 Sep 2014 20:09
by ScottWGast
Excellent! That's exactly what I was looking for :)

Thank you so much, you guys are awesome.

Scott