primefaces / primeui

Rich set of javascript-css only widgets
http://www.primefaces.org/primeui
283 stars 125 forks source link

Datatable filter and getSelection returns wrong data #198

Closed SuperSonicFlea closed 8 years ago

SuperSonicFlea commented 8 years ago

Hi, When filtering a table with single selection enabled, getSelection method returns the object for the row number as if it is not filtered.

e.g. Table has 10 items, after filter show 3 items, select the second item and it return the data for second item out of the original 10.

I may be doing some wrong as I am new to web development but so far its consistent.

Thank you.

cagataycivici commented 8 years ago

This is known issue that will be addressed in 4.1.1 next week.

cagataycivici commented 8 years ago

Fixed for 4.1.1.