/ Published in: JavaScript
ExtJS is great for OO style interface design but has a couple of strange behaviors. For instance when adding the ExtJS RowExpander plugin to a grid, the plugin overrides the gridView's getRowClass function. That's not really what you want. For instance, I want to mark certain records in a grid red when they are overdue, and also use the RowExpander plugin. The plugin however throws away my own custom formatting.
Solution is to create a backup copy of the default getRowClass function and call both the plugin function and the original, concatenating the results together with a space
Solution is to create a backup copy of the default getRowClass function and call both the plugin function and the original, concatenating the results together with a space
URL: robboerman.com