I understand that
oCell = this.oGrid.Bands[0].getColumnFromKey(sColumn).find(re);
oCell = this.oGrid.Bands[0].getColumnFromKey(sColumn).findNext(re);
needs to be corrected as
oCell = this.oGrid.get_columns().get_columnFromKey(sColumn).find(re);
oCell = this.oGrid.get_columns().get_columnFromKey(sColumn).findNext(re);
But looks that 'find' and 'findNext' are not present anymore. Could you please let me know wht are the equivalents?
Its critical. Please reply soon.
Hello Jeevitha,
According our documentation for v11.1, "findNext()" and "find()" methods search for a matching value among all cells of the respective column: http://help.infragistics.com/doc/ASPNET/2011.1/CLR4.0/?page=WebGrid_Column_Object_CSOM.html
In the client-side context of the new AIKIDO controls, I assume that these methods equivalent is "get_cell()" method: http://help.infragistics.com/doc/ASPNET/2014.2/CLR4.0/?page=WebDataGrid~Infragistics.Web.UI.GridRow~cell.html, however please note that it depends on the current scenario. Could you please provide me more information about where are you trying to access the cell, on which event?
Looking forward to your response.
Regards,
Tsanna
Hi Tsanna,
I tried this
oCell = this.oGrid.get_columns().get_columnFromKey(sColumn).get_cell(re);
it throws me exception - "Object doesn't support property or method 'get_cell'"
What am i missing here. Please advice.
Could you give me more information about what client-event are you trying to access the cell DOM object? This will help me to assist you better.
Hi Tsanna , Basically we are trying to search / Filter rows in webdatagrid. From a button click we are calling grid.js file which has the find logic.
we want select rows in grid using the column value say account number. = "8888"..
currently we trying to use
if (this.oGrid.get_columns().get_columnFromKey(sColumn) != null) {
if (this.bStartFromBeginning) {
oCell =
this.oGrid.get_columns().get_columnFromKey(sColumn).get_cell(re);
this.bStartFromBeginning = false;
}
else {
this.oGrid.get_columns().get_columnFromKey(sColumn).get_cell(re); //TODO MUST
it throwing Object doesn't support property or method 'get_cell'
let me know if i am missing something..
Hello karthikeyan,
Please note that get_cell() method is not accessible through the columns collection. It's accessible in rows collection. Here are the available options to get certain cell, for instance:
- grid.get_rows().get_row(0).get_cell(1)
- grid.get_rows().get_row(0).get_cellByColumn("columnName")
- grid.get_rows().get_row(0).get_cellByColumnKey("columnKey")
I hope this helps.
Can I help you with anything else?