This is a migrated thread and some comments may be shown as answers.

blazor grid

3 Answers 190 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
khashayar
Top achievements
Rank 1
Veteran
khashayar asked on 01 Jan 2020, 02:53 PM

hello i have a couple of questions about blazor grid 

 

1) i added a grid column called actions it contains some buttons to navigate but when i add  Reorderable="true" to TelerikGrid im able to change position of this column which i dont want to so i added Reorderable="false" to my action column and it worked i cant change it's position anymore but i can drag my other columns and put it before my action column so it gets affected by the reorderable column and its position gets changed 
but i dont want to

2) i also used Sortable="true" and  FilterMode="@GridFilterMode.FilterMenu" in my TelerikGrid tag but it doesnt get filtered nor sorted i see the red arrow for sort but it doesnt sort and also ui for filter is completely ok but it doesnt filter either aldo the Data im passing to grid is List<SomeDto>

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 01 Jan 2020, 07:15 PM

Hi Khashayar,

To each question:

reordering adjacent columns affects a column that is not reorderable - this is expected and documented (docs link). There is no way to not let a column be affected by other columns, unless it is frozen but that would change the UX in a different direction.

the grid not filtering or sorting -  I am not aware of such problems in the component and at this point I can only advise that you compare against our demos (link to filtering, link for sorting) to see what is the difference causing the problem on your end. If this does not help, please open a support ticket so you can send me a sample project that demonstrates the problem which will let me investigate and offer a more concrete answer. In the meantime the only other idea that comes to mind is to make sure that you are not using the OnRead event of the grid, as this is the only case where the grid stops performing the data operations (such as filtering and sorting) for you, and you must implement them.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
khashayar
Top achievements
Rank 1
Veteran
answered on 08 Jan 2020, 12:42 PM
thanks, 
and also i wanted to know is there a way to manulay refresh data of virtualized grid ?
0
Marin Bratanov
Telerik team
answered on 08 Jan 2020, 12:56 PM

Hello Khashayar,

Let's continue the discussion about this in your other thread on the same subject where you can find an example I made for you: https://www.telerik.com/forums/telerikgrid-onread

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Tags
General Discussions
Asked by
khashayar
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
khashayar
Top achievements
Rank 1
Veteran
Share this question
or