omrsbr / flexigrid

Automatically exported from code.google.com/p/flexigrid
0 stars 0 forks source link

Capturing more user events from Flexigrid in PHP #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Feature/Enhancement Request:
I am using Flexigrid in numerous 'desktop PC application replacements' where 
the users of my PHP webapps are using the software full-time.  I've created a 
system where I can store the user's sessionID against predetermine display 
preferences for Flexigrid, so that when a user returns to a webpage that 
displays Flexigrid, it will revert the display to what they were seeing the 
last time they viewed that page.  This applies not only to the data in range in 
the grid, but also the display properties of the grid.

I am able to get back to PHP many properties of the grid as users change them, 
however there are many properties that are not reported back, meaning that each 
time a user goes to a page, they are expected to have to manually adjust the 
grid to their likings.  As a result, I get constant complaints from users that 
they have to do this, which is reducing the user experience in my applications.

The specific properties that I need to get back are:

1.  Adjustments to column width - I display the Flexigrid columns with a 
default width, and I can give the user the ability to alter that.  But if they 
adjust it while viewing the grid, I don't get any callback to PHP that the 
column size has been adjusted.  I do get back if the sorted column order 
changes, which I can capture and accommodate, but not resizing of column widths.

2.  Adjustments to Flexigrid area (vertical and horizontal resizing).  Some 
users on different devices (ie. Tablets, PC desktops, etc.) will resize the 
Flexigrid area, and I need to capture those resize events so I can store their 
preference against their session data for redisplay again on subsequent calls 
back to the webpage.

3.  Column Ordering - If a user wishes to change the column positions, I don't 
get back any information that they have done this.

-- There may be other user events that can be captured and returned back to 
PHP, but these are the most common requests I get.  I do successfully get back 
things like no of rows displayed, sorted column, sort order (ascending or 
descending), current page user is displaying, etc.  This works great and I 
capture and store that where appropriate.  But its not the full compliment of 
user events that I need to get back.

Thanks
Myles

Original issue reported on code.google.com by myleswakeham0 on 29 Dec 2010 at 4:40

GoogleCodeExporter commented 8 years ago
This is not a bug, but an enhancement. You've made me read this, because I 
thought that was a bug and I should know that when using Flexigrid. Instead I 
got to read your wishes.

Original comment by kubal5...@gmail.com on 22 May 2011 at 8:36