Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Filter Like '%'

$
0
0
Hi,

I've got a ListGrid with the properties linked to a CustomDataSource

showFilterEditor=true
filterOnKeypress=true

From what I see the filter has a LIKE '%XXX%' behavior. I was wondering if is possible to change this default behavior to 'XXX%' for all the columns in the ListGrid

My ListGrid is as follows.

Code:

isc.ListGrid.create({
                            ID: "scheduleList",
                                top: "8%", left: "17%",
                                width:"83%", height:"91.9%",
                            dataSource: batcherScheduleDS,
                            alternateRecordStyles:true,
                            autoFetchData: true,
                            showFilterEditor: true,
                            canEdit: true,
                            editEvent: "click",
                                editByCell: true,
                            canRemoveRecords: true,
                            border: "1px solid light grey",
                            filterOnKeypress: true,
                            click:"setScheduleFormDetails();",
                            warnOnRemoval:true,
                            filterOnKeypress: true,
                           
                            removeRecordClick: function ()
                            {
                                    preRemoveSchedule();
                            },
                                warnOnRemovalMessage:"Remove this Schedule?",
                               
                        });


Viewing all articles
Browse latest Browse all 4756

Trending Articles