User Profile & Activity

Dicky S Support
Page
of 8
Posted: August 24, 2009 5:52 AM

Let me apologize for the inconvenience caused, we have updated the link, you should able to download the sample right now.

I suggest you to check the attached sample and find if you can reproduce the issue with the sample. If you have some settings in your style you can add it to this sample. Probably it can help you to reproduce the issue. So with that way, I can help you to determine the problem. Because it is quite weird, I can't reproduce the issue here.


Hope this helps. Thanks

as Handy said we didn't release list of menu items. We will ask our documentation team to add this information in the next released documentation. Thanks for your feedback.
Posted: August 23, 2009 11:29 PM

I'm sorry for the inconvenience caused. The link has been updated. Please try to download the link. And let me know your response about the sample.

Posted: August 21, 2009 6:00 AM

Hi Yaniv,

May I know what do you mean with dynamic page? do you mean the pane is created programaticaly? 
So far I test with simple sample I didn't get any problem with splitter. The pane can be expanded and collapsed as normally. 

I have attached simple sample to you PaneWithHebrewHeader.zip. It show webpane created programaticaly and use Hebrew text in Pane header. Please let me know if you have different scenario.

Hope this helps.

Hi Memo

You can use the client-side-event OnRowContextMenu.

You just need to find out how the menu is called.
Here is an example to hide the Help menu:
 
 
  function grdPL_OnRowContextMenu(controlId, rowType, rowElement, menuObject)
  {
      var i;
      for (i = 0; i < menuObject.Items.length; i  ) {
          if (menuObject.Items[i] != null) {
              if (menuObject.Items[i].Name == "mnuHelp") {
                  menuObject.Items[i - 1].Hide();
                  menuObject.Items[i].Hide();
              }
          }
      }
   return true;
  }


Hi Michael,

Thanks for your participation. Your solution will work for WebGrid row context menu, meanwhile what Memo needs is to modify WebGrid filter context menu. So I think Handy's response is the answer for Memo's scenario.

But it's okay your codes should be worked for another customer who needs to modify row context menu. 

By the way I have another tips for you: you can use GetNamedItem() method instead use For to loop all the menu items. Here the code snippet :
function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject)
{
	var grid = ISGetObject(controlId);
	var loadMoreItem = menuObject.Items.GetNamedItem("mnuLoadMore");
	loadMoreItem.Hide();         
	return true;
}

 Keep posting on our community. Thanks!

 
Posted: August 21, 2009 4:51 AM

Hi,

I recall if I'm the person that sent you the hotfix and sample page.
I've sent sample page to you with the screenshot result in IE7 and FF 3.5 (the latest one), and I believe if the sample is work perfectly here. Please find attached sample, and 2 screenshots show in IE7 and FF 3.5.

What I can see on your code snippet you didn't set AutoFitColumns="true" in LayoutSettings. But to make it simple, please check attached sample and if you find something weird with the sample or perhaps you have different scenario, could you please modify the sample until it reproduce the same issue as what you got at your end?

Posted: August 19, 2009 10:55 PM

Sure, the bug ID is 359. I'll update you when we have released the hotfix.

Posted: August 19, 2009 6:33 AM

I confirm if this is a minor UI issue, the new row alignment won't follow cell alignment.
FYI : there is another customer that reported this issue before and we have created bug report regarding this issue.

Perhaps while you waiting the hotfix probably you can use this workaround:

You can use OnEnterEditMode client side event to manage the horizontal alignment.

function WebGrid1_OnEnterEditMode(controlId, tblName, editObject)
        {
            var grid = ISGetObject(controlId);
            var selectedRow = wgGetRowByElement(editObject.cellElement.parentElement);
            var columns = grid.RootTable.Columns;
            var colDiscountinued = columns.GetNamedItem("Discontinued");
            
            if (selectedRow.Type == "NewRow")
                editObject.cellElement.parentElement.cells[colDiscountinued.Position    1].style.textAlign = "center";
return true; }

 Hope this helps.

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