We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Leading Space in the Data Table binded to Grid

Hello
I have a DataTable Say MyDataTable .It has 1 Column Say FIRST and the Values in the DataTable are as follows in the heirarchical manner . Heirarchy is maintained by putting the leading spaces in the
Field .

FIRST
--------------
FIRST VALUE
SECOND VALUE
THIRD VALUE
FOURTH VALUE


Now when I Bind this DataTable to the Grid , In that case all the fields get Left Aligned So the heirarchical structure is lost .
The Grid values are displayed like this '
FIRST
--------------
FIRST VALUE
SECOND VALUE
THIRD VALUE
FOURTH VALUE



Can you please let me know some way where in I can have the same values visible in the Grid .
Looking forward to hear from you ASAP .

Regards
Lokesh

1 Reply

GB Gokul B Syncfusion Team April 5, 2007 11:29 PM UTC

Hi Lokesh,

we are able to reproduce the issue as in attached image. Could you please update us is this one you are mentioning?.

GridDataTableIssue.zip

We have attached the image to double check the issue.

Let us know if you have any other queries.

Thanks for using Syncfusion products.

Regards,
Gokulkumar.B

Loader.
Live Chat Icon For mobile
Up arrow icon