User Profile & Activity

Andi Santoso Support
Page
of 53

Hi Pierre,

 

    Thank you for your more detail informations. I have succeed to replicate your issue. I will report this to our development team to be checked. I will give you an advance notice as soon as possible.

 

Thank you,

Andi Santoso

Posted: December 3, 2009 5:36 AM

Hi Michael,

      In order to get the DialogObject for closing you will need more than window.parent, you will also need "parentFrame.ISGetObject("WebDialogBox1")". To understand more, I attach you my sample code that include the AutoFocus on WebInput inside the WebDialogBox and WebButton to close the WebDialogBox. 


      But sorry to tell you, WebButton cannot be assigned for defaultButton. I hope it can help you, and if you have any other questions, please
do not hesitate to ask.

 

Thank you,
Andi Santoso.

   

Hi Madhavan,

     Sorry to make you worry, but we inspected the issue and it appears to be code issue, and it is not a bug. The right way to call the function is to pass the real WebGrid ID, which can be obtained after accessing to the Grid Object.

     Here's the sample codes:

function loadMore() {

    

        var grid = ISGetObject("WebGrid1");

        wgLoadMore(grid.Id);

}

    Hope it can help and let me know if you have any more questions.

 

Thank you,

Andi Santoso

Posted: December 3, 2009 4:21 AM

Hi Madhavan,

     Currently, we do not have a MouseEvent that will trigger on over a cell. But you can achieve this scenario by using WebCallOut. I believe we have a sample regarding to this scenario. You can check at WebDesktop sample in WebCallOut/WebCallOutAndWebGrid.aspx

Thank you,
Andi Santoso

Hi Mariusz,

       Sorry to tell you that EditFormat on WebInput only can be achieved from Server side or from the WebInput Designer. 

Thank you,
Andi Santoso

Hi Madhavan,

      I completely understand your situation. I will keep follow up to our developer to give a solution as soon as possible.

Thank you,
Andi Santoso

Hi Pierre,

      I am still having a problem to understand your issue. On the first screenshot shows that you selected on a specific row, then on the second screenshot, you said "On the second slide, I have simply moved to the right of the screen. The row which was highlighted in grey is no longer visible.", but as I notice, the height of the row on the first screenshot is higher than the height of the row on the second screenshot, how could you do that ? Is that a different table ?

      And just before, you said on the second screen shot, "I have simply moved to the right of the screen. The row which was highlighted in grey is no longer visible." It stated that you move the screen to the right, but howcome on the third screenshot you said "On the third slide, I had to scroll up the screen to view the highlighted line.", if you select a row and you scroll down, of course the selected row is gone, that is why you need to scroll up to see that specific row again. So actually which side have you intented to scrool the table?

Thank you
Andi Santoso

Posted: December 1, 2009 11:25 PM

Hi Pierre,

      OnLostFocus is being called when we lost focus from our WebGrid. So make sure your cursor is out from the WebGrid otherwise, if you select another row after editing particular row, OnLostFocus will not be invoked.

      If you want to prevent user from leaving the grid on the new row added, you can use its property, LayoutSetting->NewRowLostFocusAction and set to "AlwaysPrompt", but if this is an edited row, I will strongly recommend you to use OnExitMode ClientSide Event to do this procedure. I Hope it can help.

Thank you,
Andi Santoso

Hai Pierre,

       I am having a hard time to understand on you issue. Can you explain it in more detail and more specific ?, or if you can attach a video represents your issue would be better.

Thank you,

Andi Santoso.

Posted: December 1, 2009 10:56 PM

Hi Jocelyn,

 
 Here are the sample code that I made to change a text color of the edited cell with a validation and an alert to show the original value from the client side of onExitEditMode. I hope it can help.

 <script language="javascript" type="text/javascript" id="WebGrid1_OnExitEditMode_1">
  <!--
  function WebGrid1_OnExitEditMode_1(controlId, tblName, editObject)
  {
   var WebGrid1 = ISGetObject(controlId);
   
   var cellObject = editObject.ToCellObject();

   var selectedValue = cellObject.Value;

   if (selectedValue <= 10){

       cellObject.CellElement.style.color = "Red";

   }

   alert("Old Value is " + selectedValue); 
     
   return true;
  }
  -->
</script>

 

Thank you,
Andi Santoso

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