Hi, I am wondering if it is possible to freeze/lock/pin a kanban card, similar to what you have done with the
KanbanSwimlaneSettings.EnableFrozenRows functionality? What I am trying to do is always show a card at the top of the column as the user scrolls.
If this is not possible, then I am hoping I can merge the card details into the Header, so the Header will look like a card? Is it is possible to define a KanbanColumn Template that will allow you to have multiple lines of text in a header?
With the header template, what div class should i use if I want to display a table in the header?
I want to display data similar to a card, but in the header, is that possible?
Thanks
Thanks Indrajith, I can work with this.
Another question related to the Kanban view in responsive mode. Your documentation states:
"In responsive mode, the first column occupies 80% and the second column occupies 20% of the screen layout."
Is there a way to change this ratio to, for example, 90%/10%, or even 100%/0% (so each column will take up the full width of the screen layout?
Thanks
|
@@media only screen and (max-width: 600px) {
.e-kanban .e-kanban-table {
width: 200vh;
}
}
|
|
@@media only screen and (max-width: 600px) {
.e-kanban .e-kanban-table {
width: 200vh;
}
}
|
|
@@media only screen and (max-width: 600px) {
.e-kanban .e-kanban-table {
width: 200vh;
}
}
|
Hi, this doesnt seem to work for mine (although it does in the example). I don't perform any drag-drop operations.
Hi Indrajith,
Apologies for the late reply. I actually have 2 Kanban components on the same Index.html, they reside on 2 SfTab pages on an SfTab component.
The problem is that one Kanban will only have a single column but the other Kanban will have multiple columns. The style messes up the Kanban component with the single column. Is there any way to apply the style to ONLY the Kanban with multiple columns ? I have attached my code.
Thanks,
Sam
|
<SfTab>
…..
<ContentTemplate>
<SfKanban TValue="TasksModel" CssClass="e-single-kanban">…..</SfKanban>
</ContentTemplate>
…
<ContentTemplate>
<SfKanban TValue="TasksModel" CssClass="e-multiple-kanban">…..</SfKanban>
</ContentTemplate>
</SfTab> |
|
<style>
@@media only screen and (max-width: 600px) {
.e-multiple-kanban.e-kanban .e-kanban-table {
width: 200vh;
}
}
</style> |
Hi Buvana,
Thank you for the reply, we are getting very close, but I discovered that when you use column templates, then the style is ignored. Please find attached my code, in the multiple-columns Kanban I've added a template for each column and the width reverts to the original.
|
<style>
@@media only screen and (max-width: 600px) {
.e-multiple-kanban.e-kanban .e-kanban-table col {
width: 85vw !important;
}
}
.e-kanban .e-kanban-table.e-content-table .e-content-row:not(.e-swimlane-row) .e-card-content td {
background-color: #fff;
}
</style> |
Hi Buvana,
At first I thought it wasn't working, but then I realized that my index page had no padding (MainLayout was NOT wrapping @Body in a <div class="content px-4"> tag), so alI I had to do was increase the style width to 95vw, and it worked!
Thank you!