Simplica

ProductsLearnPurchaseSupportDemoDownload
  [Search] Search   [Recent Topics] Recent Topics  
how to change the charset in ajax
Forum Index -> DataTable
Author Message
firebow1


Joined: 05/17/2007 00:00:00
Messages: 8
Offline

i want to change the charset in ajax
i use the gbk charset,
onstartedit="#{globalParametersModelBean.processCellStartEdit}"
the value is ????
adina_mihai
Simplica Team

Joined: 04/01/2007 00:00:00
Messages: 189
Offline

For now we don't support changing charset in ajax. We are using encoding iso-8859-1.

Regarding getting edit value, GridtTable has two methods :

getEditRowIndex() - return row index that was edited
getEditGridCell() - return GridCell that was edited

To get edit value in your processCellStartEdit there are two cases:
- grid cell use defaul edit control :

gridTable.getEditGridCell().getValue()

- grid cell use a custom edit control specified in facet GridTable.EDIT_FACET_NAME :

gridTable.getEditGridCell().getFacet(GridTable.EDIT_FACET_NAME).getValue()


firebow1


Joined: 05/17/2007 00:00:00
Messages: 8
Offline

i see. thanks
 
Forum Index -> DataTable
Go to:   
Powered by JForum 2.1.7 © JForum Team
Home   |  News   |  Contact   |  About   |  License   |  Privacy   |  Documentation
Copyright © 2009 Simplica Corporation. All rights reserved.