ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-02-18 15:28:11

weerapolr
Member
Registered: 2016-02-16
Posts: 2

How to set disable/readonly cell for Built-in Cell Types?

How to set disable/readonly cell for built-in cell types?

Or

How to change built-in cell types to normal text data format cell?

Offline

#2 2016-02-19 07:36:19

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: How to set disable/readonly cell for Built-in Cell Types?

Hi, you can just set Body property of cell to null, then set any text else.

sheet.Cells["C3"].Body = null;
sheet["C3"] = "text";

Offline

#3 2016-02-23 15:40:51

weerapolr
Member
Registered: 2016-02-16
Posts: 2

Re: How to set disable/readonly cell for Built-in Cell Types?

Jing wrote:

Hi, you can just set Body property of cell to null, then set any text else.

sheet.Cells["C3"].Body = null;
sheet["C3"] = "text";

Hi Jing, It's work. Thank you so much.

Offline

Board footer

Powered by FluxBB