I'm trying to implement a comparator for a field. However, I am a bit confused as to how parameters are passed?
is basically what I have. both a and b are undefined when executed. I'm not sure what variable names are available to pass to the function.
Thanks
Code:
specDetailGrid.data.sort(comparator()); function comparator(a, b) { isc.warn("hello " + a + " " + b); }
Thanks
Comment