Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Column Width #1098

Answered by gvreddy04
kperez0697 asked this question in Q&A
Apr 17, 2025 · 1 comments · 1 reply
Discussion options

is posible change the width columns of the grid ,i have this problem ,i cant see complete the NumberInput

Image

You must be logged in to vote

@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" H...

Replies: 1 comment 1 reply

Comment options

@kperez0697 please increase the width of the NumberInput.

This is just a sample for your quick reference.

Before

Image

<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

Image

 ....
 <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>
 ....
You must be logged in to vote
1 reply
Comment options

perfect ,ty it works

Answer selected by kperez0697
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested area-grid ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered.
Converted from issue

This discussion was converted from issue #1092 on April 20, 2025 16:24.

AltStyle によって変換されたページ (->オリジナル) /