Sha256: 328bcee67cc2bc5e1b2baaff97e97fda670df7255d07441f0151c75f96feb6c9

Contents?: true

Size: 837 Bytes

Versions: 30

Compression:

Stored size: 837 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Table',
      icon: #{ promethee_component_render_icon 'table' },
      position: 60,
      library: true,
      data: {
        type: 'table',
        attributes: {
          head: [
            {
              searchable_text: 'Column 1'
            },
            {
              searchable_text: 'Column 2'
            },
            {
              searchable_text: 'Column 3'
            }
          ],
          body: [
            [
              {
                searchable_text: 'Text 1'
              },
              {
                searchable_text: 'Text 2'
              },
              {
                searchable_text: 'Text 3'
              }
            ]
          ]
        }
      }
    })
  JAVASCRIPT
%>
<div ng-init="<%= init %>"></div>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
promethee-1.11.29 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.28 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.27 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.26 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.25 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.24 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.23 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.22 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.21 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.20 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.19 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.18 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.17 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.16 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.15 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.14 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.13 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.12 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.11 app/views/promethee/components/table/_edit.define.html.erb
promethee-1.11.10 app/views/promethee/components/table/_edit.define.html.erb