Column Width #1098
Answered
by
gvreddy04
kperez0697
asked this question in
Q&A
Column Width
#1098
-
is posible change the width columns of the grid ,i have this problem ,i cant see complete the NumberInput |
Beta Was this translation helpful? Give feedback.
Answered by
gvreddy04
Apr 20, 2025
Replies: 1 comment 1 reply
-
@kperez0697 please increase the width of the NumberInput. This is just a sample for your quick reference. Before<Grid TItem="Employee3"
Class="table table-hover table-bordered table-striped"
DataProvider="EmployeesDataProvider"
Responsive="true">
<GridColumns>
....
<GridColumn TItem="Employee3" HeaderText="Salary" HeaderTextAlignment="Alignment.End" TextAlignment="Alignment.End" PropertyName="Salary">
<NumberInput Value="@context.Salary" ValueExpression="() => context.Salary" TextAlignment="Alignment.End" />
</GridColumn>
....
</GridColumns>
</Grid>
.... After fix ....
<GridColumn TItem="Employee3" HeaderText="Salary" HeaderTextAlignment="Alignment.End" TextAlignment="Alignment.End" PropertyName="Salary">
<NumberInput Style="width:120px;" TextAlignment="Alignment.End" Value="@context.Salary" ValueExpression="() => context.Salary" />
</GridColumn>
.... |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kperez0697
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kperez0697 please increase the width of the NumberInput.
This is just a sample for your quick reference.
Before
After fix