sorting a data inside a grid - Forum - Rollbase - Progress Community

sorting a data inside a grid

 Forum

sorting a data inside a grid

This question has suggested answer(s)

how can i sort the data inside the grid  asc / desc 

389 | 388 | 384 | 383 | 405 | 291 | 289 | 234 | 403 | 402 | 400 | 395 | 394 | 391 | 390 | 382 | 379 | 378 | 377 | 374 | 373 | 372 | 371 | 370 | 369 | 368 | 364 | 363 | 362 | 360 | 359 | 358 | 357 | 355 | 354 | 353 | 352 | 351 | 350 | 349 | 348 |347 | 346 | 345 | 344 | 343 | 342 | 341 | 340 | 339 | 338 | 337 | 336 | 335 | 333 | 332 | 331 | 330 | 329 | 320 | 319 | 318 | 317 | 316 | 315 | 314 | 313 | 312 | 311 | 310 | 309 | 308 | 307 | 306 | 304 | 303 | 301 | 299 | 294 | 293 | 284 | 279 |273 | 272 | 270 | 269 | 265 | 263 | 262 | 255 | 246 | 245 | 242 | 241 | 240 | 235 | 214 | 211 | 207 | 206 | 205 | 203 | 202 | 201 | 380 | 408 | 396 | 404 | 399 | 398 | 385 | 356 | 392

All Replies
  • so anyone who can suggest me the ways to sort the data inside a grid cell please

  • What do these values represent with regards to the page where you are viewing them? Are these values of a field in a related object record?

  • yes it is

    I was just to sort the data in ASC / DESC  as the data looks cluttered

  • For a sorted view of an aggregate field value, you can consider using a TemplateField.

    Within  the template field first sort the aggregate values.

    Reference: www.w3schools.com/.../jsref_sort.asp

    Then construct and return html markup as ordered/un-ordered list items i.e. <ul><li></ul> or just with seperators i.e. '|'.

    Documentation Reference: documentation.progress.com/.../

    Regards,
    Siraj.