Skip to content

Cannot use custom grid for relationship columns #194

@sammakkoinen

Description

@sammakkoinen

I would like to use custom grid as editor for some relationship columns (to show only a few columns, i.e. use different include_colspec, different toggle_edit_cells_init_off setting). At first glance it seems to be possible with setting auto_editor_type => 'grid', display_columns and auto_editor_params. However the grid setting is effectively disabled in Catalyst::Plugin::RapidApp::RapidDbic, line 233:

 if(!$TSconfig->{auto_editor_type} || $TSconfig->{auto_editor_type} eq 'grid') {
      $class->TableSpec_set_conf(
        auto_editor_type => 'custom',

Yet somehow it still works in CoreSchema (RapidApp::CoreSchema::Result::SavedState), can't still figure out how.
What is the intended way to use the 'grid' auto_editor_type, how do I use custom grids for relationship columns and why is it disabled?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions