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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

120763 Oct 13,2015 08:27 AM Oct 15,2015 01:43 AM ASP.NET MVC 3
loading
Tags: Grid
sinha
Asked On October 13, 2015 08:27 AM


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 04:40 AM

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 08:43 AM


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

Thanks,
Sinha

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

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.

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.

;