I have use Xceed data grid with more than 20 columns when i use 20th column and do any action in my grid after refreshing the scrollbar will automatically start with column no 1 how to avoid such refreshing issue ?
I used this code
What I have tried:
<
xcdg:DataGridControl
AllowDrop
="
True"
AutoCreateColumns
="
False"
ReadOnly
="
True"
Name
="
xcddgTst"
ItemScrollingBehavior
="
Immediate"
MouseDoubleClick
="
xcddgTst_MouseDoubleClick"
VerticalAlignment
="
Stretch"
HorizontalAlignment
="
Stretch"
>
<
xcdg:DataGridControl.Columns
>
<
xcdg:Column
FieldName
="
Column01"
ReadOnly
="
True"
Title
="
Column 01 "
>
<
xcdg:Column.CellContentTemplate
>
<
DataTemplate
>
<
TextBlock
Text
="
{Binding RelativeSource={RelativeSource
AncestorType={x:Type xcdg:DataRow}},
Path=DataContext[Column01],
StringFormat=\{0: MM/dd/yyyy\}}"
/
>
<
/DataTemplate
>
<
/xcdg:Column.CellContentTemplate
>
<
/xcdg:DataGridControl.Columns
>
<
/xcdg:DataGridControl
>
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad
spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or
edit the question
and fix the problem. Insults are not welcome.
Don't tell someone to read the manual. Chances are they have and don't get it.
Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.