angular - Sort PrimeNG DataTable by radio-button column -


my primeng datatable in selectionmode='single', , therefore shows column radio-buttons in it.

when 1 of radio-buttons clicked, how can move/sort selected row top of table?

the following code doesn't work:

<p-datatable    [value]="items"                 [selection]="selected"                 [globalfilter]="globalfilter"                 (onrowselect)="rowselect($event)"                 (onrowunselect)="rowunselect($event)">      <p-column field="name" header=""></p-column>     <p-column selectionmode="single" [sortable]='true'></p-column> </p-datatable> 

rather odd functionality, has been required client.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -