ppbb123 Posted March 4, 2013 Report Share Posted March 4, 2013 How to reduce the column width in edit mode of results page? Thanks for any suggestion. Jess 1 Quote Link to comment Share on other sites More sharing options...
HongTaiLang Posted March 5, 2013 Report Share Posted March 5, 2013 Please try the following code inside the Footer. If the data type is Number, Date: <script> function field_size(){ if ( document.getElementById("InlineEditfield1").size != "" ) document.getElementById("InlineEditfield1").size = "5"; } window.onload = field_size; </script> If the data type is Text(255): <script> function field_size(){ if ( document.getElementById("InlineEditfield1").size != "" ) { document.getElementById("InlineEditfield1").rows= "1"; document.getElementById("InlineEditfield1").cols= "5"; } } window.onload = field_size; </script> Please replace field1 from "InlineEditfield1" with the respective fieldname of the editable field. Jess 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.