I am currently utilizing select2 and I am interested in displaying a multicolumn table as a dropdown. In order to achieve this, the width of the drop-down container should differ (be larger) than the input itself.
Is it feasible to accomplish this?
Furthermore, I would like to present a table with multiple columns. Upon reviewing the movies example, I observed that a new table is created for each row within the formatResult function.
Would it be viable to have every row included in the same table so that all cells possess equal width? Perhaps I need to establish a template to house the rows or something similar.
My objective is to have a compact input display the code of an entity while a spacious dropdown reveals additional columns.
--
For further information, please refer to this related issue on Github: https://github.com/ivaynberg/select2/issues/1314