Freeze columns 1 & 2 of setupListOperation() #1409
Replies: 1 comment
-
|
I'm sorry, but the knowledge sources do not provide any official or documented way to freeze (fix) the first two columns—including their headers—in Backpack's ListOperation using only configuration or method calls. The default Backpack features allow you to enable or disable responsive tables (which toggles between column hiding and horizontal scrolling), but do not mention support for freezing columns natively via the CRUD API or controller methods for a specific table. There is a user-contributed workaround in an older GitHub issue, where someone manually included the DataTables FixedColumns extension by modifying the table markup and adding the required JS/CSS. However, this approach does require editing the table's blade template, which you specifically want to avoid. No method is documented for achieving this purely through the controller or Backpack's API for a single table instance without markup changes Datatables Responsive > Comments Part 2. If you need this feature, you may need to extend Backpack's functionality yourself or consider submitting a feature request to the Backpack team. For now, freezing columns is not natively supported through the controller or CRUD API alone. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Show Operation|How to Configure |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I need to freeze columns 1 and 2 including the header when table is scrolled to right. How to do this without the updating table markup? I want to specify on this table only
Beta Was this translation helpful? Give feedback.
All reactions