farshadmohajeri / extpascal

Automatically exported from code.google.com/p/extpascal
49 stars 28 forks source link

[PATCH] Support for multiple fields in TExtObject.AjaxSelection() #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not a defect report but an enhancement.

I have modified TExtObject.AjaxSelection so that it supports comma-separated 
lists of fields in the Attribute and TargetQuery parameters (now renamed to 
Attributes and TargetQueries). This allows to use multi-column keys (often 
found in legacy databases) and generally passing arbitrary fields from selected 
grid rows to the Ajax handler. The change is backward compatible. I think it is 
generally useful (it certainly is a must to me).

The attached patch is against revision 742, and it also includes my other 
change to TExtObject.Ajax mentioned earlier.

Ciao
-- 
Nando

Original issue reported on code.google.com by nando.dessena on 25 Aug 2011 at 9:13

Attachments: