Page 1 of 1

MultiSelect not working properly

Posted: 14 Jul 2016, 08:28
by rpfaff
We are using Modena theme for our project. But after upgrading from PrimeNG beta 6 to PrimeNG beat 9, MultiSelect component stopped working.

If any user removes few columns and again adds, then columns are not appearing properly. Those newly added columns are coming but those are out of the frame.

Suppose at first we are displaying 4 columns as A, B, C, D. Now I removed B and C from MultiSelect drop down. Then it will remove those two columns from the data table also. This is working fine. But if I add those columns B and C again, then those columns are not appearing properly. It is not automatically adjusting rest of the columns width. It is coming out of the frame.

1. 1st case
| A ---- B ---- C ---- D |

2. After removing B and C
| A --- D |

3. After adding B and C
| A ---- D | B-C

=> But it should be | A ---- D ---- B ---- C |

Re: MultiSelect not working properly

Posted: 15 Jul 2016, 12:45
by mert.sincan
Does it work this issue without Modena Theme or Layout? I think this is a primeng issue. If you think this is a primeng issue, please create an issue; https://github.com/primefaces/primeng/issues

Re: MultiSelect not working properly

Posted: 21 Jul 2016, 12:50
by rpfaff
You are right. This issue is related to PrimeNG not specific to any Layout or Theme. Problem is if we use resizableColumns="true" and columnResizeMode="expand", then multiselect is not working properly.

I will raise one bug against PrimeNG team.

Thanks for your input.

Re: MultiSelect not working properly

Posted: 21 Jul 2016, 15:12
by mert.sincan
Thanks for the update!