Welcome Guest Search | Active Topics | Sign In | Register

How to disable entire row selection Options
Darrell Reinke
Posted: Wednesday, October 17, 2012 9:32:26 AM
Rank: Advanced Member
Groups: Member

Joined: 7/18/2008
Posts: 76
Good Morning,

I was wondering if it is possible to disable the entire selection of a row with the selectedStyle feature? I am using your sample grid using cell based selection as the example. The cell selection is working as designed which is great, however, if you click on the RowNumberColumn (or any static column/fixed column, etc.) the entire row gets highlighted and it will stay that way. Is there a way to keep this from happening and keep the cell based selection capability active? Is there a setting I am missing?

I can provide you with the actual grid I have designed if you like, however, the sample I have provided below is behaving the same as described above.

Thank you for your time.

Code: HTML/ASPX
<p>
	When <b>FullRowMode</b> is set to <b>False</b>, clicking a cell selects the 
	cell and fires <b>ClientSideOnCellSelected</b> event. Note clicking an editable 
	cell also puts the cell into edit mode.
</p>
<eo:Grid id="Grid1" runat="server" FixedColumnCount="1" BorderColor="#7F9DB9" BorderWidth="1px"
	ColumnHeaderDescImage="00050105" ColumnHeaderAscImage="00050104" GoToBoxVisible="True"
	GridLineColor="220, 223, 228" GridLines="Both" ColumnHeaderDividerImage="00050103" Font-Size="8.75pt"
	Font-Names="Tahoma" Width="450px" Height="200px" ClientSideOnCellSelected="OnCellSelected"
	IsCallbackByMe="False" FullRowMode="False">
	<FooterStyle CssText="padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;"></FooterStyle>
	<ItemStyles>
		<eo:GridItemStyleSet>
			<SelectedStyle CssText="background-color:#316ac5;color:white;"></SelectedStyle>
			<CellStyle CssText="padding-left:8px;padding-top:2px;"></CellStyle>
			<FixedColumnCellStyle CssText="border-right: #d6d2c2 1px solid; padding-right: 10px; border-top: #faf9f4 1px solid; border-left: #faf9f4 1px solid; border-bottom: #d6d2c2 1px solid; background-color: #ebeadb; text-align: right"></FixedColumnCellStyle>
		</eo:GridItemStyleSet>
	</ItemStyles>
	<GoToBoxStyle CssText="BORDER-RIGHT: #7f9db9 1px solid; BORDER-TOP: #7f9db9 1px solid; BORDER-LEFT: #7f9db9 1px solid; WIDTH: 40px; BORDER-BOTTOM: #7f9db9 1px solid"></GoToBoxStyle>
	<ContentPaneStyle CssText="border-bottom-color:#7f9db9;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#7f9db9;border-left-style:solid;border-left-width:1px;border-right-color:#7f9db9;border-right-style:solid;border-right-width:1px;border-top-color:#7f9db9;border-top-style:solid;border-top-width:1px;"></ContentPaneStyle>
	<Columns>
		<eo:RowNumberColumn Width="40"></eo:RowNumberColumn>
		<eo:StaticColumn SortOrder="Ascending" HeaderText="Posted At" AllowSort="True" DataField="PostedAt"></eo:StaticColumn>
		<eo:StaticColumn HeaderText="Posted By" AllowSort="True" DataField="PostedBy"></eo:StaticColumn>
		<eo:StaticColumn Width="300" HeaderText="Topic" AllowSort="True" DataField="Topic"></eo:StaticColumn>
	</Columns>
	<ColumnHeaderStyle CssText="background-image:url('00050101');padding-left:8px;padding-top:3px;"></ColumnHeaderStyle>
</eo:Grid>
eo_support
Posted: Wednesday, October 17, 2012 11:19:55 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

That looks like a bug that we must change code on our side. We will look into this and get back to you as soon as possible.

Thanks!
Darrell Reinke
Posted: Wednesday, October 17, 2012 12:07:21 PM
Rank: Advanced Member
Groups: Member

Joined: 7/18/2008
Posts: 76
Thank you. Looking forward to the update.
eo_support
Posted: Wednesday, October 17, 2012 3:41:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We have posted a new build that should fix this problem. Please see your private message for the download location.

Thanks!
Darrell Reinke
Posted: Wednesday, October 17, 2012 4:24:12 PM
Rank: Advanced Member
Groups: Member

Joined: 7/18/2008
Posts: 76
Thank you for the quick turnaround. I have installed the new build and it is working as expected. Once again, your support is awesome!
eo_support
Posted: Wednesday, October 17, 2012 4:28:43 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
You are very welcome and thanks for confirming the fix! Please feel free to let us know if there is anything else.
Darrell Reinke
Posted: Wednesday, October 17, 2012 5:01:14 PM
Rank: Advanced Member
Groups: Member

Joined: 7/18/2008
Posts: 76
I spoke too soon. Looks like we missed one thing. I am getting a licensing issue when I deploy it to our test server. We will not be upgrading to the 2012 objects till the beggining of next year. Was the new build the 2012 version? Please advise. We are currently licensed for EO.Web Controls Suite (2011). I assume I am going to need a new license key.
eo_support
Posted: Wednesday, October 17, 2012 5:04:32 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

If you log into your account to revisit the license key page for your latest order (the one placed 02/12), you should be able to download new keys for the new version. That will go on until February next year, at which time you can upgrade your license.

Thanks!
Darrell Reinke
Posted: Wednesday, October 17, 2012 5:10:53 PM
Rank: Advanced Member
Groups: Member

Joined: 7/18/2008
Posts: 76
Just downloaded it and all is well. Thank you again.


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.