PDA

View Full Version : [CLOSED] Select Row in GridPanel Based on the selected value (C# Code Behind)



canusr1
Aug 13, 2013, 8:58 AM
Hello,

Firstly, I wanna find in grid based on the parameter (eg. TxID).

If it's exist in the grid panel, I would like to select the rows which belongs that TxID.

I've already found out the following thread:

http://forums.ext.net/showthread.php?14028-CLOSED-Select-row-Grid

I would like to know how can I get RowIndex by searching TxID columns in the gridpanel.

Thank you.

Daniil
Aug 13, 2013, 9:57 AM
Hi @canusr1,

Do you want to search a record in code behind or on client via JavaScript?

canusr1
Aug 13, 2013, 10:10 AM
In code behind, Daniil.


Hi @canusr1,

Do you want to search a record in code behind or on client via JavaScript?

Daniil
Aug 13, 2013, 1:04 PM
Client side store's data and server are not synchronized automatically. Here is the reason.
http://forums.ext.net/showthread.php?10705&p=43229&viewfull=1#post43229

You can submit a grid's data to iterate it in code behind, but I would recommend you just to select a required row in JavaScript.