JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Kanban If anyone has experience with: Kanban, please share!

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #112700
    natejacobson
    Participant

    How can I make the Smart Kanban responsive in Vue?

    #112719
    Markov
    Keymaster

    Hi,

    You can try this:

    
    <template>
      <smart-kanban
        :dataSource="tasks"
        :columns="columns"
        collapsible
        style="height: 100%; width: 100%;"
      ></smart-kanban>
    </template>
    
    <script>
    import 'smart-webcomponents-vue/kanban';
    
    export default {
      data() {
        return {
          tasks: [
            { id: 1, status: 'toDo', text: 'Create layout', tags: 'UI' },
            { id: 2, status: 'inProgress', text: 'Connect API', tags: 'Backend' },
            { id: 3, status: 'done', text: 'Deploy to staging', tags: 'DevOps' }
          ],
          columns: [
            { label: 'To Do', dataField: 'toDo' },
            { label: 'In Progress', dataField: 'inProgress' },
            { label: 'Done', dataField: 'done' }
          ]
        };
      }
    };
    </script>

    Best regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.