F
Filament3mo ago
Selva

How to display two different widgets in dashboard page side by side?

class JobsCountChart extends Widget
{
protected static ?int $sort = 1;

// Rest of your widget code...
}

class AnotherWidget extends Widget
{
protected static ?int $sort = 2;

// Rest of your widget code...
}
class JobsCountChart extends Widget
{
protected static ?int $sort = 1;

// Rest of your widget code...
}

class AnotherWidget extends Widget
{
protected static ?int $sort = 2;

// Rest of your widget code...
}
No description
3 Replies
toeknee
toeknee3mo ago
in the dashboard page set columns method to 2 and then in the widget class set the widgetspan = 1
Selva
SelvaOP3mo ago
Kindly let me know how to do that, I am new to filament
Want results from more Discord servers?
Add your server