The example shows how to assign custom editors to cells depending on the row's index.