I found that when I have a table form open (or open one up) the default sort doesn’t work. I have to call it via controller.sort(‘field asc’). This will work but via the properties this does nothing…
IT2BE:
I found that when I have a table form open (or open one up) the default sort doesn’t work. I have to call it via controller.sort(‘field asc’). This will work but via the properties this does nothing…
This property should be called “initalSort” (I think it’s being changed in the next revision). This sort ONLY happens ONCE - the first time the form is loaded (would be same as doing “onLoad” method on form).
So - you’re doing it the right way - have a method to sort and then call it after an action (create record, modify field that is sorted by, etc).
Bob Cusick
OK, that’s why… I have noticed this way before today but didn’t put any thoughts to it untill today. I am debugging my solution and found this little issue along the way!