We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using AllowEditing(false) makes the data in textbox control almost invisible in grid editing

Thread ID:

Created:

Updated:

Platform:

Replies:

120763 Oct 13,2015 12:27 PM UTC Oct 15,2015 05:43 AM UTC ASP.NET MVC 3
loading
Tags: Grid
sinha
Asked On October 13, 2015 12:27 PM UTC


Is there any property to set it to readonly or make the data in textbox control  visible

Saravanan Arunachalam [Syncfusion]
Replied On October 14, 2015 08:40 AM UTC

Hi Sinha,

Thanks for contacting Syncfusion Support.

If allowEditing is set as false for a particular column, that column will be read only and the control will be in disable state while editing.

If you meant the invisible state as opacity of the disable cell, set “opacity” CSS for the read only column to change the appearance of disable cell. Please refer to the code example.

<style>

    .e-grid  .e-disable#GridCustomerID{

      opacity:1

    }

</style>

@(Html.EJ().Grid<OrdersView>("Grid")

        . . .

        .Columns(col =>

        {

             . . .

            col.Field("CustomerID").AllowEditing(false).HeaderText("Customer ID").Width(90).Add();

            . . .

        })

  )


Regards,
Saravanan A.

sinha
Replied On October 14, 2015 12:43 PM UTC


Hi Saravanan Arunachalam,
This is what exactly i'm looking for.

Thanks,
Sinha

Saravanan Arunachalam [Syncfusion]
Replied On October 15, 2015 05:43 AM UTC

Hi Sinha,

Thanks for your update.

We are happy to hear that your issue has been resolved.

Please get back us if you need any further assistance. We will happy to assist you.

Regards,

Saravanan A.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;