Sigma Php Ajax framework, Ajax Components, GUI Builder
May 16, 2012, 11:53:54 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Clicking on the empty row of a grid gets 'Unspecified error'  (Read 763 times)
JK
Newbie
*
Posts: 3


View Profile
« on: June 23, 2009, 11:45:32 PM »

Hi,

If a grid received no data from server, it will display an empty row. when I click on the empty row (even the clicked column is not editable), the 'Unspecified error' will crash the application. Can anyone please tell me how to avoid this?   
« Last Edit: June 25, 2009, 11:01:21 PM by JK » Logged
humi
Hero Member
*****
Posts: 284


View Profile
« Reply #1 on: June 26, 2009, 04:18:00 AM »

Are you using SigmaGrid 2.2?
Logged
steven
Moderator
Hero Member
*****
Posts: 544



View Profile
« Reply #2 on: June 26, 2009, 04:36:13 AM »

Can you do grid.setContent([]) if no data returned?
Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
JK
Newbie
*
Posts: 3


View Profile
« Reply #3 on: June 28, 2009, 04:18:06 PM »

Hi humi,

I downloaded the 2.2 version and tried again. The problem is not longer exist, but I've found another problem. When click on the empty row, width of some or all the columns will change (all columns are not resizable), if click on the header, the width of those column will change back. Can we avoid this?


« Last Edit: June 28, 2009, 04:29:08 PM by JK » Logged
JK
Newbie
*
Posts: 3


View Profile
« Reply #4 on: June 28, 2009, 04:22:13 PM »

Hi Steven,

Thanks for your reply. I prefer keep the row empty if no data returned, actually I'd like to remove the empty row if possible.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!