Datagrid Row Height

Is there a way to control the row height in the datagrid component?

Hi Azuliani :waving_hand:

You can change the row height with the “Vertical Padding Scale” option in the datagrid component.

Can I controll it for each row? Or is it datagrid wide?

Yeah if you bind it you will be able to set it dynamically based on the data in the row

What do you bind it to?

You bind the vertical padding field is what you would bind to, as for the data depends what you want, you could do if(row has image, 500, 100 ) or whatever you want.

It doesn’t seem possible to bind that value to data within the collection, because it’s at the array-wide level. Am I missing something?

oh true sorry I don’t use the data grid really, I usually just make my own with the more basic elements. You could try forking the data grid and asking ai to add the ability I have seen some people have success with that but I haven’t had any luck