User Profile & Activity

Andi Santoso Support
Page
of 53

Hi Fabrizio,

     Yes, we cannot press Tab button to move to the next cell while we use "Slider". Because, Slider its self is like an editing form. That is why, we need to exit from our editing form first before we go to the next row. We need to press Enter first to exit from editing from then it will allow us to use Tab to go to the next row.

     I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

Posted: February 2, 2010 9:49 PM

Hi Scott,

    Yes, unfortunately using OnAddPendingChanges's 'rowChange' attribute does not support of style property, that is why on my previous code, I was using an element to get the style of particular row and cell. The best workaround, I believe, is by adding validation for each cell. You can get the value of the changed row by using this following code: 

rowChange.Row.GetCells().GetNamedItem("Field1").Get("Value") == "ValidationValue"

     I hope it can help and please do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

Posted: February 2, 2010 4:08 AM

Hi Dan,

     Forgive me for the misunderstanding the situation. I am understand now. Here is the sample code to change the background color of the pending changes on WebGrid. However, before do so, on BatchUpDateSetting, you will need to set HighlightChanges="false". 

setTimeout(function() { ISGetObject("WebGrid1").RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE).rows[19].cells[2].style.backgroundColor = "Red"; }, 200) 

     On that code, I go to the last row of WebGrid, which is the 19th rows and get the second cell to change the background color into red. 

      I hope it helps and please let me know if you have any other questions. Thank you.

Best Regards,

Andi Santoso

Posted: February 2, 2010 1:54 AM

Hi George,

     For your information, our developer has fixed the issue and it is ready on our available on our next release hotfix. Thank you.

Best Regards,

Andi Santoso


Posted: February 2, 2010 1:29 AM

Hi Mark,

     For your information, our developer has fixed the issue and it is ready on our available on our next release hotfix. Thank you.

Best Regards,

Andi Santoso

Posted: February 1, 2010 10:08 PM

Hi Nick,

     Actually, this scenario is available at our documentation. You can search "How-to: Customize the Filter context menu"  on our WebGrid Documentation.

     I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso


Posted: February 1, 2010 10:00 PM

Hi Scott,

     In here, I attached a Default.aspx file. In there, I am using a WebGrid_OnColumnSort client side event. So, whenever we click on the sorting button the height will be set as 100% or perhaps, any desired height in pixel.

     I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

Posted: February 1, 2010 9:13 PM

Hi Conrad,

     Yes, forgive me for miss that point. The problem is occured because when we try to access to the next new column, there exists a delay. That is why we need to set time out when we try to access it. Using this code should be solved the issue.

setTimeout(function() { GetRow.GetCells()[position].Select(); }, 200) 

      I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

Posted: February 1, 2010 3:56 AM

Hi Dan,

     Here, I provide a video attachment and you can download it in here. Would you kindly take a look and correct me if we are not in the same page? I hope it helps and thank you.

Best Regards,

Andi Santoso

Hi Way Hang Wee,

     From what I see on you code, you have created a connection object by yourself which I am not sure on how its works. So in here, I attach you a simple running sample using a SqlConnection for you to modified it according to your scenario. 

     I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso 

All times are GMT -5. The time now is 5:20 AM.
Previous Next