Re: EUGrid
Pete Stoner wrote:
>
> Hi Guys,
>
> I am using an EUGrid, one of its columns uses a dropdown and another is
> prefilled
> with a date. I want to detect when the user selects one of the dropdown items
> and change the entry in the date column for that row accordingly. i.e. if the
> dropdown has a choice of 'today' or 'tomorrow', I default it to 'today' and
> pre-enter todays date in the date column. If the user then selects 'tomorrow'
> I want to automatically change the date field to tomorrows date.
>
> I can detect when the user clicks on the 'arrow' to open the dropdown but I
> can't see any message or notification when he actually selects one of the
> options.
>
> Is there a way to detect this?
>
> Regards
> PeteS
Hi Pete,
It's not possible in the current version, I'm afraid. The nearest you could
get would be to trap an EGW_CELLCHANGE when the user navigates out of the
dropdown and set the value at that point. Alternatively, if you only have a
short list of values, maybe you could use a series of checkbox columns, one
for each choice, and set values according to the selection e.g. selecting
checkbox column 'Today' would a)set today's date and b) uncheck checkbox
column 'Tomorrow'.
This should all get a lot easier with EuGrid v2.00 - assuming I ever finish
it, that is
Sorry to disappoint.
Regards,
Phil
|
Not Categorized, Please Help
|
|