User Profile & Activity

Hendrik Yulianto Member
Page
of 9
Posted: October 10, 2011 3:12 AM
Hi,

I think you cannot using GetCheckedRows method, because it is impossible if checkbox is in disabled mode.
For the solution you need to get parent row collection and check the collection whether the checkbox state is true or not.


regards,

Hendrik

Hi,

Unfortunately i can’t replicate your issue because it works well in here. Fyi, I am using webgrid version 7. What's yours? Unfortunately, if you use older WebGrid version, I need to say that we already discontinue any hotfixes for upcoming bug.

But if you use WebGrid 7, please ensure you have used the latest WebGrid and WebUI Framework hotfixes.


regards,

Hendrik

Posted: October 6, 2011 11:28 PM

Hi,

Currently, WebGrid can only freeze column for the left side. If you would like it to be in right side, please let us know your detail requirement/scenario. We would like to see possiblity if this can be implement as feature request for the future release.


regards,

hendrik


Hi,


Please confirm if the screenshot is the current error that you faced or not. Your sample will show this error because keyvalue is null or empty when select the filter row. To resolve this issue, simply set the validation to check keyvalue is undefined/null or not.

Also, I don't recomment the code that you used to get key value because it uses the element.

Not all of the element have this attribute. It would better if you get the row object instead of element.

e.g selRow= grid.GetSelectedObject().ToRowObject();

 

Hope this helps.

 

Posted: October 5, 2011 10:30 AM

Hi,

I think you missed one parameter when performing SetText. Here’s how to set the text :

cell.SetText('Test', true);

If you want to display text instead of ID, you need to use valuelist. Have you already used? For further information about valuelist, open our WebGrid sample or tutorial.


regards,

Hendrik

Posted: October 5, 2011 5:54 AM

Hi,
As default, when the user tabbed out from the last column, it would move into first column in next row. However, if the first row is not editable, it would go to second cell.

In your scenario, this could not work because you were using CellSelect as your CellClickAction.

To meet your expectation, you can do it by follow the steps below.

  1. Use OnEditKeyDown clientside event. In this event, validate if it is the last column or not.
  2. Check the tab key. To recognize Tab key in OnEditKeyDown event, you would need to use event.KeyCode.
  3. When tab is recognized, simple call method to select next row and edit to second column.

Hope my sample can help.

 

regards,

Hendrik



Posted: October 5, 2011 5:54 AM

Hi,
As default, when the user tabbed out from the last column, it would move into first column in next row. However, if the first row is not editable, it would go to second cell.

In your scenario, this could not work because you were using CellSelect as your CellClickAction.

To meet your expectation, you can do it by follow the steps below.

  1. Use OnEditKeyDown clientside event. In this event, validate if it is the last column or not.
  2. Check the tab key. To recognize Tab key in OnEditKeyDown event, you would need to use event.KeyCode.
  3. When tab is recognized, simple call method to select next row and edit to second column.

Hope my sample can help.

 

regards,

Hendrik



Posted: October 5, 2011 5:53 AM

Hi,
As default, when the user tabbed out from the last column, it would move into first column in next row. However, if the first row is not editable, it would go to second cell.

In your scenario, this could not work because you were using CellSelect as your CellClickAction.

To meet your expectation, you can do it by follow the steps below.

  1. Use OnEditKeyDown clientside event. In this event, validate if it is the last column or not.
  2. Check the tab key. To recognize Tab key in OnEditKeyDown event, you would need to use event.KeyCode.
  3. When tab is recognized, simple call method to select next row and edit to second column.

Hope my sample can help.

 

regards,

Hendrik



Posted: October 5, 2011 5:53 AM

Hi,
As default, when the user tabbed out from the last column, it would move into first column in next row. However, if the first row is not editable, it would go to second cell.

In your scenario, this could not work because you were using CellSelect as your CellClickAction.

To meet your expectation, you can do it by follow the steps below.

  1. Use OnEditKeyDown clientside event. In this event, validate if it is the last column or not.
  2. Check the tab key. To recognize Tab key in OnEditKeyDown event, you would need to use event.KeyCode.
  3. When tab is recognized, simple call method to select next row and edit to second column.

Hope my sample can help.

 

regards,

Hendrik



Hi,

I can replicate the issue in here. The issue only happens when using RefreshAll(). I will report this bug to our developer teams and will let you know when the fix is ready.

All times are GMT -5. The time now is 12:27 PM.
Previous Next