Filtering with Ultrawebgrid

One caution that must be made.

if you choose to enable filtering and on server side, everything will not work.

it only filter the current page. not the whole page.

so you only get result from page one, but not filtering through all of the data source

i've tried it and read knowledge base that 

you've got to check the enable ajax. and choose the filtering on client side.

 and add some javascript

function UltraWebGrid1_CellClickHandler(gridName, cellId, button){
       var rowObj = igtbl_getRowById(cellId);
        if( rowObj != null )
        {
        if( rowObj.getDataKey() == null )
        {
            igtbl_cancelPostBack(rowObj.gridId)
        }

 add the cell click of the grid , layout->CliensideEvent->Cell click

 it should work for now...

:)

Share this post: | | | |
Published Monday, June 23, 2008 11:03 AM by cipto
Filed under:

Comments

No Comments