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

Disabling column resizing disables custom header classes

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dima
Top achievements
Rank 1
Dima asked on 09 Mar 2021, 02:51 PM
When I set DisableResizeing="true" on RadGrid, it disables any HeaderStyle CssClasses. When I remove that setting, I am able to set classes. Also, last column is exempt from creating custom classes in any case. There needs to be an empty last column for that purpose.
  • Add to Phrasebook
     
    • No word lists for English → Ukrainian...
       
    • Create a new word list...
  • Copy
  • Add to Phrasebook
     
    • No word lists for English → Ukrainian...
       
    • Create a new word list...
  • Copy

1 Answer, 1 is accepted

Sort by
0
Doncho
Telerik team
answered on 12 Mar 2021, 12:38 PM

Hi Dima,

I would assume that by saying DisableResizering you mean the AllowColumnResize property: (is it so?)

<ClientSettings>
    <Resizing AllowColumnResize="false"/>
</ClientSettings>
I have tested setting custom css class to the HeaderStyle when ColumnResize is enabled and disabled and in both cases, it seems to be working as expected:
<HeaderStyle CssClass="customClass" />

Could you please share the complete markup declaration of the RadGrid so we can have a better overview of the concrete scenario?

Looking forward to hearing from you!

Kind regards,
Doncho
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Dima
Top achievements
Rank 1
Answers by
Doncho
Telerik team
Share this question
or