aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/RpcDataProviderExtension.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix DetailsRow communication use connector IDs (#18493)Teemu Suo-Anttila2015-07-211-206/+35
| | | | | | | | | Details are now initialized when they are made visible. The old way of requesting when seen caused a lot of problems when moving stuff around. Now uses less communication, but reserves a bit extra resources due to all details components being in the hierarchy. Change-Id: I1c1163bdc306f5b86e5e0f6e2bbf2801e65c2243
* Fix displaying Details when Grid is attached to DOM (#18390)Teemu Suo-Anttila2015-07-091-0/+9
| | | | Change-Id: I74360c7a3f0c5798dbaa44ea06ea1585c4289449
* Fix Grid details on sort to display them on correct rows (#18224)Teemu Suo-Anttila2015-07-021-0/+8
| | | | | | | Due to the nature of Container this is only achieved by removing any existing details and reopening those after the sort is done. Change-Id: Ic42186ed85981d5dad4ff0948aa22f7a0404480d
* Handle generated empty string style names properly (#17335)Artur Signell2015-05-191-2/+2
| | | | Change-Id: I1adce18f238fd4357b0eb1be68ebf7a3aaa6dd6e
* Add missing @since for 7.5Leif Åstrand2015-05-121-1/+21
| | | | Change-Id: Id8f78c9ef7670c5413d3b7d28eef732dd1b7512d
* Fixed some faulty asserts in Grid's detail row creation (#17293)Henrik Paul2015-03-271-10/+26
| | | | Change-Id: I8e9998524c02ca1e2f9d3391fa27bacc53655c7f
* Update all empty since tags published in alpha1Leif Åstrand2015-03-261-3/+3
| | | | Change-Id: I1afce7e69beb9a61354fd82fcda194d4277dfd36
* Fixes edge case in null details generation for Grid (#17274)Henrik Paul2015-03-251-2/+3
| | | | Change-Id: I1bf4c2f0600baea8b925bd31dcd42c1e901a7c8b
* Move DetailComponentManager from Grid to RDPE (#16644)Henrik Paul2015-03-201-5/+264
| | | Change-Id: I2b65a878bb50c2b1f62135a998207a41e82fe62f
* Merge remote-tracking branch 'origin/grid-detailsrow' into grid-7.5Henrik Paul2015-03-191-2/+102
|\ | | | | | | Change-Id: I24df361a4f938b6ffe567aa290cc411ce194baba
| * Adds details generator swap support for Grid (#16644)Henrik Paul2015-03-181-0/+7
| | | | | | | | Change-Id: I741970a7bcebd27d3aa28d608d767b4b4f063ae8
| * Fixes a bug in Details being open on freshly retrieved Grid rows (#16644)Henrik Paul2015-03-181-1/+4
| | | | | | | | Change-Id: Id337dd84ba0b0f09d55b3cdb0d8bfde67313ed21
| * Grid's Details can now be Components (#16644)Henrik Paul2015-03-171-1/+30
| | | | | | | | Change-Id: If67dd2e86cf41c57f208a3691e2cb7a5a29c133c
| * Server side Grid can open details on the client side (#16644)Henrik Paul2015-03-171-3/+69
| | | | | | | | Change-Id: Ibff5a83b3a09c7c530926dadae9138ba3823f27a
* | Optimise RpcDataProvider calls to container (#16642)Teemu Suo-Anttila2015-03-161-82/+37
|/ | | | Change-Id: I8abaa4c1bd8eface98e42e0882cf09c92fbbf386
* Fix adding and modifying multiple rows in Grid (#16905)Teemu Suo-Anttila2015-02-241-1/+2
| | | | Change-Id: Ib3ae8d305f44a78c9bd6f4539ca9cee2a487d269
* Fix RpcDataProviderExtension value change listener setup (#16550)Teemu Suo-Anttila2015-02-131-31/+55
| | | | | | | This patch changes value change listener mapping from itemid based to index based mapping. This makes removing rows much less error prone Change-Id: I77e9078de4ae61ce5d752cc394aa47bccd505e70
* Fix NullPointerException when changing Grid container (#16559)Johannes Dahlström2015-02-111-2/+2
| | | | Change-Id: I6e8ca4af7baf0b560e9f28dfd6b7dd437c1a4254
* Rename com.vaadin.ui.renderer to com.vaadin.ui.renderers (#16521)Leif Åstrand2015-02-061-1/+1
| | | Change-Id: I6fd0313aaba5619a55f03fb52d72c032ea18f409
* Render Object.toString() when no converter is set (#15417)Artur Signell2015-02-051-14/+11
| | | | Change-Id: I8a00857d5829cd01ceb98c4264029f62e45e7073
* Defer RPC calls in RpcDataProvider to avoid cache issues (#16505)Teemu Suo-Anttila2015-02-041-30/+82
| | | | | | | | This patch defers cache refresh and row adding/removing. These calls are omitted completely when making initial response to the client or updating the size with bare ItemSetChangeEvents. Change-Id: I6b350680b3e2381caf6a66c9a4ad283207d024dc
* Fix RpcDataProvider cache clearing on bare ItemSetChange (#16481)Teemu Suo-Anttila2015-01-271-68/+83
| | | | | | | This patch optimizes value change listeners and updates a bit in order to make clean up on cache invalidation easier to perform. Change-Id: I6ae3e0ef5046bd5f404f5e0a440607cabd48c6a4
* Make Grid send Json as Json (#16244)Leif Åstrand2015-01-151-2/+2
| | | | Change-Id: I2da481dcd3c258e48f2f77a9d3c8c46bb81048ff
* Minor loop cleanup/optimization for #15443 fixJohannes Dahlström2015-01-141-19/+16
| | | | Change-Id: Iff6029865ab89f3738331edaa0673772414cb8ba
* Fix IndexOutOfBoundsException in RpcDataProviderExtension (#15443)Johannes Dahlström2015-01-141-14/+19
| | | | Change-Id: I5688e369bd6247afe0c8ed381964445dfc2c1ec1
* Fix Grid handling state changes and RPC calls deferred (#16188)Teemu Suo-Anttila2015-01-131-48/+51
| | | | | | | Some column changes in Grid were not correctly handled by the RpcDataProviderExtension. These cases are now correctly handled. Change-Id: I966b1c71d26e77e30e7dd84f26ab9704bd4f1f0f
* Format project, once againArtur Signell2015-01-091-2/+2
| | | | Change-Id: I57cb6208613ce4fc8fce52c07ac4a18982095d2e
* Change getColumnProperty to getPropertyId in Grid Column (#15512)Teemu Suo-Anttila2015-01-071-2/+2
| | | | Change-Id: I89a8ccbb918301abed66adcb0d6246c8db0585a5
* Fix adding rows to visible range of Grid (#15476)Teemu Suo-Anttila2015-01-021-1/+1
| | | Change-Id: I53a40d927d273a292c8ac845b385c156b9fb901a
* Fix active row range handling when removing rows (#15454)Teemu Suo-Anttila2014-12-311-21/+32
| | | | Change-Id: I6de22796051503290db216d4c213401d24a7e2a0
* Fix RpcDataProviderExtension to send initial data on reload (#15465)Teemu Suo-Anttila2014-12-311-1/+2
| | | Change-Id: I0a2edc9a9ba1f48299e165d398adf7b73972349f
* Set @since values for Grid classesLeif Åstrand2014-12-181-1/+1
| | | | Change-Id: Ib0c7d23c2a963e24ecca7769f6b179826be55102
* Split CellStyleGenerator into separate cell and row style generatorsArtur Signell2014-12-121-7/+29
| | | | | | (#13334) Change-Id: If07018b6f74ff1a4c616705f61b6118647d64342
* Make AbstractRemoteDataSource easier to use (#13334)Leif Åstrand2014-12-121-31/+34
| | | | | | | | - Adds a callback to requestRows so implementors know what to do when receiving data - Guestimate the initial amount of available rows so an initial request can be made before the actual size is known Change-Id: Iba44eab1695e3ff9947a4e7ed16eee55af98fec4
* Move Renderers to com.vaadin.ui.renderer package (#13334)Teemu Suo-Anttila2014-12-111-3/+3
| | | | Change-Id: I80370f05cfa8123d64728abd5ede9642931e0cd8
* Render empty cell instead of stopping rendering if a converter is missingArtur Signell2014-12-101-3/+20
| | | | Change-Id: I64ef6bf6b89e2bfe9704cc81f3caf3b0f4271656
* Add getColumns function to Grid (#13334)Teemu Suo-Anttila2014-12-081-19/+14
| | | | | | | Since Grid on the server side does many things with properties this patch also adds a way to get the backing property id for a column. Change-Id: Ia78c611a28b566593c3291681904ac14cf0c48ee
* Avoid non-fatal server-side assertions from selection tests (#13334)Leif Åstrand2014-12-061-2/+7
| | | | Change-Id: I44b00f1d41b763bfbcaa23eea80ebdb1925ea620
* Remove Column visibility setting from server side (#13334)Teemu Suo-Anttila2014-12-051-6/+10
| | | Change-Id: I2ef97672dd2085e9178f44fce39ead40bd84713c
* Add server-side CellStyleGenerator (#13334)Leif Åstrand2014-12-041-1/+50
| | | Change-Id: Id12f1135673d93fddd0a59d26b1c546a0ef0ee1d
* Make Grid.Column API setters fluid (#13334)Teemu Suo-Anttila2014-12-011-2/+2
| | | | Change-Id: I3b160a265fe8bd16a97f895a05dc5e3a78314e07
* Move Grid to com.vaadin.ui package (#13334)Teemu Suo-Anttila2014-11-261-2/+2
| | | | Change-Id: I326847fd190003af9125d1386b21d9ccfc6c36c2
* Fixes property change events after first render (#13334)Henrik Paul2014-11-061-0/+6
| | | | Change-Id: Ief2e1763c7764009e9244ae4334ccacacc3bb205
* Prevent row insert/remove RPC calls before client init (#13334)Teemu Suo-Anttila2014-11-051-2/+15
| | | | Change-Id: I61eae7c74bc148aebf37d382b3ee2a9e14d389b2
* Fix RpcDataSource to use RPC for row pins/unpins (#13334)Teemu Suo-Anttila2014-10-221-60/+7
| | | | | | | | This patch removes the temprarilyPinnedRows workaround from AbstractRemoteDataSource and refactors the whole feature to be part of RpcDataSource where it should be. Change-Id: Id55020dd11dda3dcf54dfe3c1b41af8e495c1c0c
* Grid now supports bare ItemSetChangeEvents (#13334)Henrik Paul2014-10-031-13/+48
| | | | Change-Id: Id87b2d7f50720bbfd5011520ea0be32fead48635
* Map row data with column ids instead of using an array (#13334)Teemu Suo-Anttila2014-09-261-3/+7
| | | | Change-Id: I12fafeec9cb3666822676c80b2062ec2ef4af7ee
* Merge remote-tracking branch 'origin/master' into gridTeemu Suo-Anttila2014-09-031-53/+30
|\ | | | | | | | | | | This merge needs Grid to use elemental.json instead of org.json Change-Id: Ib3c387c7e282b2502f266bafbdaad8727f5dc6ef
* | Fixes an occasional synchronization problem with duplicate updates (#13334)Henrik Paul2014-08-271-1/+1
| | | | | | | | Change-Id: I538556b5b307d1e187e68799e7bab622196d2a24
* | Sending a drag select over the wire in a batch (#13334)Henrik Paul2014-08-191-3/+66
| | | | | | | | Change-Id: I49a518b484557d232542e999a2f41ffad3cc7568