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. Image for the cookie policy date

Ejgrid Column Caching Form Field Issue

I want to prevent browser from caching form field in ejgrid. Is this possible?

I have attached file below

Attachment: grid_d15db719.rar

1 Reply

VN Vignesh Natarajan Syncfusion Team March 1, 2019 07:22 AM UTC

Hi Debleena, 
 
Thanks for the update. 
 
Query: “It is not working yet. It holds the cache browser login credential value as username in the input field” 
 
We have analyzed the shared screenshot and found that you are using dialog editMode. We are able to reproduce the reported issue while preparing sample as per your screenshot. Kindly refer the below code example to disable autocomplete for element inside the dialog. 
 
function complete(args) {            
          if(args.requestType == "beginedit" || args.requestType == "add"){ 
            // to hide autoComplete for specific column input box  
                        var id = this.element.attr("id");  
                        //Grid ID + ColumnName  
                        //we have removed the autocomplete for CustomerID column  
                        $("#" + id + "CustomerID").attr("autocomplete", "off");  
                        // if you are using dialog template kindly use the elment id to diable the autocomplete 
          } 
        } 
 
   
 
If you still facing issue, kindly share the following details which will be helpful for us to validate the reported issue at our end 
 
  1. Share the Grid rendering code
  2. Share the screenshot of script error in console window (if any).
  3. Share the video demonstration of reported issue.
  4. If possible share the issue reproducible sample.
 
Regards, 
Vignesh Natarajan. 


Loader.
Up arrow icon