Listgrid with showFilterEditor: true bug?

Hey guys,

Can you confirm an odd behavior that I'm seeing when using showFilterEditor: true?

Description:
When showFilterEditor is set to true on a ListGrid, “change” and “changed” (and more than likely other) callbacks are no longer fired on ListGridFields in that ListGrid.

Steps to reproduce:
Pick an example from the SC site that includes an editable ListGrid. I picked http://www.smartclient.com/docs/6.5.1/a/system/reference/SmartClient_Explorer.html#editByRow

Add a "change" callback to a ListGridField. I picked the "countryName" field from the example. The callback I created looks like this: change: "isc.say('changed');".

Save and confirm that the callback fires on change of the field by changing the value of "countryName".

Add "showFilterEditor: true" to the ListGrid definition, and save.

Change the value of "countryName" and observe that the callback does not fire.

Is adding the filter editor supposed to change the way that the individual fields are handled? If so, is there an alternate method that can be used to effect the same functionality?

Thanks in advance!

Rob

Hi Rob
Thanks for letting us know about this. Yes - this is a bug in 6.5.1. We have already fixed this in mainline (so the fix will be present in 7.0).
Is it blocking you? If so let us know and we may be able to come up with a patch for you

Thanks

Sorry for the late reply!

No, I think we can hold out for the GA release of 7 since it seems like you guys are really close now.

I found the “correct” way to do what I wanted to do that does not use change handlers on listgrid fields.

Thanks for the offer, though.

Rob