User Profile & Activity

Frank Bruce Member
Page
of 15
Posted: March 29, 2011 3:21 AM

 Hi,Yudi ,

Can you explain why it must use step one("Set the column type of “Country” column to “Custom”)?

I just use step two,it seems work fine.

 

Posted: March 29, 2011 2:37 AM

Hi.Handy,Is there anything new about this?

Posted: March 29, 2011 2:35 AM

thank you all the same.Handy

Posted: January 29, 2011 8:14 PM

 I have solved The problem.

Posted: January 26, 2011 3:41 AM

I am sorry ,I can not use your database.Could you please give a  sql2000(or sql2005) database.
Please see the picture!

My sql is:sql2005

function HideColumn()//hide cloumn       
{   var grid = ISGetObject("WebGrid1");

            var col = grid.RootTable.Columns.GetNamedItem("Cloumn Name");         

            col.Set("Visible", "false", true);

            grid.RefreshAll();

        }
Posted: January 25, 2011 8:24 PM

My solution seems that it only works fine on IE .I really wish your work group give a perfect solution.thanks

Posted: January 24, 2011 10:39 AM

It is a pity for hear that.I solve the problem by my way.although it is not a perfect way.
Part code is: 
OnAfterExitEditMode="Webgrid_Updaterow"

function Webgrid_Updaterow(controlId) {

    var gtest = document.getElementById(controlId + "_of");
    var grid = ISGetObject(controlId);
    gtest.onclick = function() {   
    if (event.srcElement == null)
               { ; }
          else if (event.srcElement.lastChild == null)
               { ; }
            else  if (event.srcElement.lastChild.tagName == null)
            { ; }
            else  if (event.srcElement.lastChild.tagName == "TABLE") {
                 grid.ExitEdit(1, 0, 1);
          }
        
    }
}
Posted: January 20, 2011 8:27 PM

I am sorry.If I use your way,the style of webInput will seems so strange~Have anther way????

Posted: January 17, 2011 12:05 AM

It is very sad to hear that .Can the further WebUI version set ForeColor of webinput???

All times are GMT -5. The time now is 9:48 PM.
Previous Next