Stylish appearance of GridGroupingControl with nested tables
Is it possible to hide ( - ) sign for those records without children (marked in image with green)?
Attachment: grdMarked_5e3ab559.zip
or
hide header row for child grid marked with red
or
hide new row in child grid marked with orange?
How can I do this
Thanks,
Bogdan
Attachment: grdMarked_5e3ab559.zip
SIGN IN To post a reply.
3 Replies
AR
Arulpriya Ramalingam
Syncfusion Team
December 14, 2017 06:08 AM UTC
Hi Bogdan,
Thanks for contacting Syncfusion support.
|
Query |
Response |
|
Is it possible to hide (-) sign for those records without children (marked in image with green)? |
In order to hide the Expand/Collapse button (i.e. minus sign button) for the records which has empty child table, the QueryCellStyleInfo event can be used. In that event, the cell type of the Expand/Collapse button cell can be set to “Static” by using the CellType property based on the condition. Already we have provided a KB for the reported scenario. Please make use of below KB link,
|
|
hide header row for child grid marked with red |
The ShowCaption property of NestedTableGroupOptions can be used to hide the caption row of the child tables. Please refer to the below code,
Code example
//To hide the Caption row
this.gridGroupingControl1.NestedTableGroupOptions.ShowCaption = false;
|
|
hide new row in child grid marked with orange? |
The ShowAddNewRecordBeforeDetails property of NestedTableGroupOptions can be used to hide the AddNewRecord row of the child tables. Please refer to the below code,
Code example
//To hide the AddNewRecord row
this.gridGroupingControl1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false;
|
Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/NestedTableGrpoupoptions-1910045280
Please let us know if you have any other queries.
Regards,
Arulpriya
CB
CONSTANTIN BOGDAN
December 18, 2017 12:46 AM UTC
Excellent answer as usual!
AR
Arulpriya Ramalingam
Syncfusion Team
December 18, 2017 04:31 AM UTC
Hi Constantin,
Thanks for your appreciation.
We are glad to hear that the provided solution was resolved your scenario.
Please let us know if you have any other queries.
Regards,
Arulpriya
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
CB CONSTANTIN BOGDAN
- Dec 13, 2017 02:03 PM UTC
- Dec 18, 2017 04:31 AM UTC