Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

161
Visualizações
jqGrid toolbar search working only for the first 20 rows. The paging is 20,40,60

jqGrid search is able to filter through the first 20 rows only. The grid I’m searching had 600+ rows but.

$(obj).find("#"+rowid).hide();

obj is having only first 20 rows (1 of 30 ) pages. but I need to filter through 600 rows.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

We might just guess the way you get your data for the table, but the right way to hide some rows is to filter your data, not its visual representation i.e. some rows. At the point of executing of your hide usually only the visible page of rows exists. If I'm not wrong visiting next page will created other page of rows and so on. That's why you are not able to hide them, because the do not exist at the DOM yet.
I'm not sure what kind of search you are doing i.e toolbar or other but you might catch the complete event and you may use following functions to get the data from the table.

1. jQuery ("grid_id").GetGridParam('userData')  
2. jQuery ("grid_id").GetUserData()  
3. jQuery ("grid_id").GetUserDataItem(key)  

Then you may remove some entries you don like to show using the proper methods provided in jqGrid.

That's all I can say based on the simple way you have represented your question.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda