Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Sascha  
#1 Posted : Wednesday, February 23, 2011 8:42:13 AM(UTC)
Sascha

Rank: Newbie

Groups: Registered
Joined: 2/23/2011(UTC)
Posts: 1
Location: Karlsruhe

Hi there,

it its possible to setup a style for a grouprow, however I miss some details or "how to" for my problem:
I created a grouprow style and set its type to "Check". Now, the group-text disappears and a checkbox is shown. When I click the checkbox, the groupitems expand/contract. So what I need:
- show checkbox and grouptext in the grouprow
- when user checks/unchecks the group checkbox, all items (column 0 is of type check) shall be checked/unchecked in that group.

Can you help me?

kind regards

sascha
Igor/10Tec  
#2 Posted : Thursday, February 24, 2011 8:47:01 AM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 742

Thanks: 10 times
Was thanked: 98 time(s) in 98 post(s)
The current version of iGrid does not allow you to have the check box control and text in the same cell (also true for group rows). If you need to implement the functionality like this, you need to imitate it with cell image. Use a custom-drawn check box as the cell image, and tick/untick it when the user clicks it.

*****

As for this limitation in general, we already received many suggestions to implement check boxes for normal cells. Most likely, we'll abandon the current approach to cell types in the future versions of iGrid.NET when we should set the cell type - either normal "text" cell (default) or check box cell - as we did it a couple of years ago for combo box cells. In the previous versions of iGrid, we needed to specify a special combo box cell type, but now you just need to attach a drop-down list to normal cell to make it combo box cell. We are planning to do the same for check box cells: you will have an option (flag) you can set to ADD the check box control to normal cells, and every cell will have an additional property of say the .NET CheckState enumeration type you can use to know the state of the check box in the cell.
gmorris59  
#3 Posted : Tuesday, February 28, 2017 11:11:23 AM(UTC)
gmorris59

Rank: Newbie

Groups: Registered
Joined: 4/21/2015(UTC)
Posts: 5

Has this functionality now been implemented in the .NET version?
Igor/10Tec  
#4 Posted : Tuesday, February 28, 2017 12:47:10 PM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 742

Thanks: 10 times
Was thanked: 98 time(s) in 98 post(s)
No. If you need it in interfaces like CheckedTreeView, I would recommend that you place the check box column before the tree column if you implement this functionality with iGrid.NET.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.