This is a migrated thread and some comments may be shown as answers.

Header caption and columnName

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jean-Marc
Top achievements
Rank 1
Jean-Marc asked on 30 Sep 2011, 04:21 PM
Reffering to this thread (http://www.telerik.com/community/forums/aspnet-ajax/grid/header-caption.aspx) I re-ask the question , not sure if you've seen it..

and i re-write main points here:
1) I want to show header caption taken from my datasource (dataset) caption field, grid shows columnName by default
Answer: in this od thread (http://www.telerik.com/community/forums/aspnet-ajax/grid/column-names-are-shown-instead-of-column-captions.aspx)
ok

2) as i click on a row, header captions go back to their colum names.
Answer:on radgrid_itemcommand radgrid.rebind
ok

3) unanswered
I've added a detailTable, it happens now that expanding a row to its child I have this scenario:
itemDataBound fires
(now I check e.Item.OwnerTableView.Name)
1. case is masterTableView -> everything is ok
2. case is detailView -> header captions of the masterTableView are not set (uniqueName is shown)

Really need it.
Thank you

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Oct 2011, 11:17 AM
Hello Jean,

I have answered the same query here.

Hope it helps.

Regards,
Shinu.
Tags
Grid
Asked by
Jean-Marc
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or